]> Cypherpunks repositories - gostls13.git/commitdiff
internal/buildcfg: enable regabig by default
authorAustin Clements <austin@google.com>
Wed, 14 Apr 2021 16:37:04 +0000 (12:37 -0400)
committerMichael Knyszek <mknyszek@google.com>
Mon, 19 Apr 2021 19:24:41 +0000 (19:24 +0000)
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>
src/internal/buildcfg/exp.go

index bf4a8fa977dae1e4a641d77faa053e33ded11f81..f3903be862cb42665e1aaea5031618d9620e4bee 100644 (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