mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
55b4310acd
commit
a2d6a2caeb
1 changed files with 2 additions and 1 deletions
|
|
@ -21,12 +21,13 @@ import (
|
||||||
var Experiment goexperiment.Flags = parseExperiments()
|
var Experiment goexperiment.Flags = parseExperiments()
|
||||||
|
|
||||||
var regabiSupported = GOARCH == "amd64"
|
var regabiSupported = GOARCH == "amd64"
|
||||||
|
var regabiDeveloping = GOARCH == "arm64"
|
||||||
|
|
||||||
// experimentBaseline specifies the experiment flags that are enabled by
|
// experimentBaseline specifies the experiment flags that are enabled by
|
||||||
// default in the current toolchain. This is, in effect, the "control"
|
// default in the current toolchain. This is, in effect, the "control"
|
||||||
// configuration and any variation from this is an experiment.
|
// configuration and any variation from this is an experiment.
|
||||||
var experimentBaseline = goexperiment.Flags{
|
var experimentBaseline = goexperiment.Flags{
|
||||||
RegabiWrappers: regabiSupported,
|
RegabiWrappers: regabiSupported || regabiDeveloping,
|
||||||
RegabiG: regabiSupported,
|
RegabiG: regabiSupported,
|
||||||
RegabiReflect: regabiSupported,
|
RegabiReflect: regabiSupported,
|
||||||
RegabiDefer: true,
|
RegabiDefer: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue