mirror of
https://github.com/golang/go
synced 2024-09-05 07:54:46 +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
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue