From af3b8cf5026a9d74a53ac5d3fec2bba35a96ad91 Mon Sep 17 00:00:00 2001 From: Cherry Mui Date: Thu, 23 Dec 2021 13:09:02 -0500 Subject: [PATCH] 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 --- src/cmd/go/script_test.go | 1 - 1 file changed, 1 deletion(-) 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. -- 2.50.0