mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
internal/buildcfg: enable regabi for Android
This will permit us to write ABIInternal assembler code for linux-amd64. For #40724 Change-Id: I681866651554eda4229d6faa7f0c1ba42d07e57d Reviewed-on: https://go-review.googlesource.com/c/go/+/315390 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
95c5f4da80
commit
9c12f1b433
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ import (
|
|||
// was built with.)
|
||||
var Experiment goexperiment.Flags = parseExperiments()
|
||||
|
||||
var regabiSupported = GOARCH == "amd64" && (GOOS == "linux" || GOOS == "darwin" || GOOS == "windows")
|
||||
var regabiSupported = GOARCH == "amd64" && (GOOS == "android" || GOOS == "linux" || GOOS == "darwin" || GOOS == "windows")
|
||||
|
||||
// experimentBaseline specifies the experiment flags that are enabled by
|
||||
// default in the current toolchain. This is, in effect, the "control"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue