The recently added darwin/arm64 builder with macOS 26 (issue #76798) uncovers a failing test on release-branch.go1.25:
I can reproduce locally with:
# (with macOS 26)
$ GOTOOLCHAIN=go1.25.8 go build cmd/cgo/internal/test
go: downloading go1.25.8 (darwin/arm64)
# cmd/cgo/internal/test [cmd/cgo/internal/test.test]
.../cmd/cgo/internal/test/test.go:250:16: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant]
On macOS 15, it works fine, on macOS 26 it fails as above.
Doesn't happen with Go 1.26.1 or tip.
CC @golang/darwin, @prattmic.
The recently added darwin/arm64 builder with macOS 26 (issue #76798) uncovers a failing test on release-branch.go1.25:
I can reproduce locally with:
On macOS 15, it works fine, on macOS 26 it fails as above.
Doesn't happen with Go 1.26.1 or tip.
CC @golang/darwin, @prattmic.