]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.typeparams] internal/buildcfg: allow regabi GOEXPERIMENTs on ARM64
authorCherry Mui <cherryyz@google.com>
Thu, 27 May 2021 20:56:02 +0000 (16:56 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 1 Jun 2021 22:33:58 +0000 (22:33 +0000)
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>
src/internal/buildcfg/exp.go

index 11cd05f2ed00db9146da7e3d0fcddfe3d226aeac..196d6af4a602112b3ccbd63b413805e705c795c2 100644 (file)
@@ -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