1
0
mirror of https://github.com/golang/go synced 2024-11-26 04:58:00 -07:00

internal/buildcfg: enable regabig by default

For #40724.

Change-Id: Ibf4ff8b24b501813839657ac195b909682ac7d0b
Reviewed-on: https://go-review.googlesource.com/c/go/+/310173
Trust: Austin Clements <austin@google.com>
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
Austin Clements 2021-04-14 12:37:04 -04:00 committed by Michael Knyszek
parent f8892147bd
commit bbb510ccc9

View File

@ -27,6 +27,7 @@ var regabiSupported = GOARCH == "amd64" && (GOOS == "linux" || GOOS == "darwin"
// configuration and any variation from this is an experiment.
var experimentBaseline = goexperiment.Flags{
RegabiWrappers: regabiSupported,
RegabiG: regabiSupported,
}
// FramePointerEnabled enables the use of platform conventions for