Fix builds on Windows without CGO (#5518)

This commit is contained in:
Audrius Butkevicius 2019-02-10 14:58:29 +00:00 committed by Jakob Borg
parent 04fdafa280
commit c5a79bdfe6

View File

@ -338,7 +338,7 @@ func test(pkgs ...string) {
useRace := runtime.GOARCH == "amd64"
switch runtime.GOOS {
case "darwin", "linux", "freebsd", "windows":
case "darwin", "linux", "freebsd": // , "windows": # See https://github.com/golang/go/issues/27089
default:
useRace = false
}