Skip to content

Commit 189b4a2

Browse files
author
Bryan C. Mills
committed
cmd/go: forward the MallocNanoZone variable to script tests
For #49138 Fixes #49723 Change-Id: Ia93130fdc042a1e2107be95cccd7e7eeaa909a87 Reviewed-on: https://go-review.googlesource.com/c/go/+/366254 Trust: Bryan C. Mills <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 8f559bc commit 189b4a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cmd/go/script_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ var extraEnvKeys = []string{
146146
"GO_TESTING_GOTOOLS", // for gccgo testing
147147
"GCCGO", // for gccgo testing
148148
"GCCGOTOOLDIR", // for gccgo testing
149+
"MallocNanoZone", // Needed to work around an apparent kernel bug in macOS 12; see https://golang.org/issue/49138.
149150
}
150151

151152
// setup sets up the test execution temporary directory and environment.

0 commit comments

Comments
 (0)