1
0
mirror of https://github.com/golang/go synced 2024-11-12 00:30:22 -07:00

[dev.typeparams] internal/buildcfg: turn on regabiwrappers by default on ARM64

Change-Id: I8db0a797a745630ec35af3e56406fcb250ea59fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/324768
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
Cherry Mui 2021-06-03 15:17:51 -04:00
parent 55b4310acd
commit a2d6a2caeb

View File

@ -21,12 +21,13 @@ import (
var Experiment goexperiment.Flags = parseExperiments()
var regabiSupported = GOARCH == "amd64"
var regabiDeveloping = GOARCH == "arm64"
// experimentBaseline specifies the experiment flags that are enabled by
// default in the current toolchain. This is, in effect, the "control"
// configuration and any variation from this is an experiment.
var experimentBaseline = goexperiment.Flags{
RegabiWrappers: regabiSupported,
RegabiWrappers: regabiSupported || regabiDeveloping,
RegabiG: regabiSupported,
RegabiReflect: regabiSupported,
RegabiDefer: true,