Fix builds on Windows without CGO (#5518)
This commit is contained in:
committed by
Jakob Borg
parent
04fdafa280
commit
c5a79bdfe6
2
build.go
2
build.go
@@ -338,7 +338,7 @@ func test(pkgs ...string) {
|
|||||||
|
|
||||||
useRace := runtime.GOARCH == "amd64"
|
useRace := runtime.GOARCH == "amd64"
|
||||||
switch runtime.GOOS {
|
switch runtime.GOOS {
|
||||||
case "darwin", "linux", "freebsd", "windows":
|
case "darwin", "linux", "freebsd": // , "windows": # See https://github.com/golang/go/issues/27089
|
||||||
default:
|
default:
|
||||||
useRace = false
|
useRace = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user