cmd/go: misleading message CGO_ENABLED=0 with -msan says go run: -race requires cgo
#21895
Labels
Milestone
go run: -race requires cgo
#21895
What did you do?
What did you expect to see?
What did you see instead?
I noticed this while reading through @rsc's CL https://go-review.googlesource.com/c/go/+/63917. It is a simple oversight in which we just need to check which is being ran
-race
or-msan
which both require cgo. The code to update is incmd/go/internal/work/build.go
. CL coming shortly.The text was updated successfully, but these errors were encountered: