Skip to content

Commit 7da9659

Browse files
Bryan C. Millsheschi
Bryan C. Mills
authored andcommitted
[release-branch.go1.16] cmd/go: forward the MallocNanoZone variable to script tests
For #49138 Updates #49723 Fixes #49728 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]> (cherry picked from commit 189b4a2) Reviewed-on: https://go-review.googlesource.com/c/go/+/366258 TryBot-Result: Go Bot <[email protected]>
1 parent 3729a67 commit 7da9659

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
@@ -105,6 +105,7 @@ var extraEnvKeys = []string{
105105
"GO_TESTING_GOTOOLS", // for gccgo testing
106106
"GCCGO", // for gccgo testing
107107
"GCCGOTOOLDIR", // for gccgo testing
108+
"MallocNanoZone", // Needed to work around an apparent kernel bug in macOS 12; see https://golang.org/issue/49138.
108109
}
109110

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

0 commit comments

Comments
 (0)