diff options
| author | Emmanuel Odeke <emm.odeke@gmail.com> | 2017-09-14 17:16:58 -0600 |
|---|---|---|
| committer | Emmanuel Odeke <emm.odeke@gmail.com> | 2017-09-15 00:11:18 +0000 |
| commit | 33cb1481f26c6f1acca445fafa18e7ad1d49efed (patch) | |
| tree | b8ac069936fb2ec5c173ecd20baddb89f9696ec2 /src/strconv/extfloat.go | |
| parent | 95b146e8ebf1687503fcf105f16e1f1eb0ea135e (diff) | |
| download | go-33cb1481f26c6f1acca445fafa18e7ad1d49efed.tar.xz | |
cmd/go: correctly report that -msan needs CGO_ENABLED=1
Previously, if CGO_ENABLED=0 was set when building
with -msan, the error message printed was:
-race requires cgo; enable cgo by setting CGO_ENABLED=1
yet the instrumentation flag passed in was -msan. This CL
fixes that message to correctly report that -msan needed
CGO_ENABLED=1, and likewise if -race, report -race needed it.
Fixes #21895
Change-Id: If423d520daae7847fb38cc97c3192ada5d960f9d
Reviewed-on: https://go-review.googlesource.com/63930
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/strconv/extfloat.go')
0 files changed, 0 insertions, 0 deletions
