mirror of
https://github.com/golang/go.git
synced 2026-01-30 07:32:05 +03:00
[dev.typeparams] internal/buildcfg: allow regabi GOEXPERIMENTs on ARM64
It is not working yet, but allow enabling the experiments so we can develop. Change-Id: I957eb05acb4d80b2858ff1f8c16bbfb24e0f6e56 Reviewed-on: https://go-review.googlesource.com/c/go/+/323933 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
@@ -98,8 +98,8 @@ func parseExperiments() goexperiment.Flags {
|
||||
}
|
||||
}
|
||||
|
||||
// regabi is only supported on amd64.
|
||||
if GOARCH != "amd64" {
|
||||
// regabi is only supported on amd64 and arm64.
|
||||
if GOARCH != "amd64" && GOARCH != "arm64" {
|
||||
flags.RegabiWrappers = false
|
||||
flags.RegabiG = false
|
||||
flags.RegabiReflect = false
|
||||
|
||||
Reference in New Issue
Block a user