mirror of
https://github.com/golang/go
synced 2024-11-17 15:44:40 -07:00
[dev.typeparams] internal/buildcfg: always enable regabiwrappers on AMD64
Always enable regabiwrappers on AMD64. GOEXPERIMENT=none will not turn it off. Change-Id: I0aa208c02157661ac3676b753bcfbfa050b99e41 Reviewed-on: https://go-review.googlesource.com/c/go/+/327271 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Than McIntosh <thanm@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
e0e9fb8aff
commit
2fe324858b
@ -97,6 +97,10 @@ func parseExperiments() goexperiment.Flags {
|
||||
}
|
||||
}
|
||||
|
||||
// regabiwrappers is always enabled on amd64.
|
||||
if GOARCH == "amd64" {
|
||||
flags.RegabiWrappers = true
|
||||
}
|
||||
// regabi is only supported on amd64 and arm64.
|
||||
if GOARCH != "amd64" && GOARCH != "arm64" {
|
||||
flags.RegabiWrappers = false
|
||||
|
Loading…
Reference in New Issue
Block a user