Skip to content

Commit 364f15f

Browse files
Bryan C. Millsheschi
Bryan C. Mills
authored andcommitted
[release-branch.go1.17] cmd/go: forward the MallocNanoZone variable to script tests
For #49138 Updates #49723 Fixes #49729 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/+/366257 TryBot-Result: Go Bot <[email protected]>
1 parent b954f58 commit 364f15f

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
@@ -142,6 +142,7 @@ var extraEnvKeys = []string{
142142
"GO_TESTING_GOTOOLS", // for gccgo testing
143143
"GCCGO", // for gccgo testing
144144
"GCCGOTOOLDIR", // for gccgo testing
145+
"MallocNanoZone", // Needed to work around an apparent kernel bug in macOS 12; see https://golang.org/issue/49138.
145146
}
146147

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

0 commit comments

Comments
 (0)