From: Cherry Mui Date: Thu, 23 Dec 2021 18:09:02 +0000 (-0500) Subject: cmd/go: remove MallocNanoZone environment variable workaround X-Git-Tag: go1.18beta2~183 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=af3b8cf5026a9d74a53ac5d3fec2bba35a96ad91;p=gostls13.git cmd/go: remove MallocNanoZone environment variable workaround We added a workaround in runtime/race. This should not be necessary now. Updates #49138. Change-Id: Ia2010e4acc95c4ddf5f463ab2919401d893c0bac Reviewed-on: https://go-review.googlesource.com/c/go/+/374314 Trust: Cherry Mui Run-TryBot: Cherry Mui Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot --- diff --git a/src/cmd/go/script_test.go b/src/cmd/go/script_test.go index dbfba2291c..7adbc71a89 100644 --- a/src/cmd/go/script_test.go +++ b/src/cmd/go/script_test.go @@ -146,7 +146,6 @@ var extraEnvKeys = []string{ "GO_TESTING_GOTOOLS", // for gccgo testing "GCCGO", // for gccgo testing "GCCGOTOOLDIR", // for gccgo testing - "MallocNanoZone", // Needed to work around an apparent kernel bug in macOS 12; see https://golang.org/issue/49138. } // setup sets up the test execution temporary directory and environment.