Skip to content

Commit 9c12f1b

Browse files
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 <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Cherry Zhang <[email protected]>
1 parent 95c5f4d commit 9c12f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/buildcfg/exp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
// was built with.)
2121
var Experiment goexperiment.Flags = parseExperiments()
2222

23-
var regabiSupported = GOARCH == "amd64" && (GOOS == "linux" || GOOS == "darwin" || GOOS == "windows")
23+
var regabiSupported = GOARCH == "amd64" && (GOOS == "android" || GOOS == "linux" || GOOS == "darwin" || GOOS == "windows")
2424

2525
// experimentBaseline specifies the experiment flags that are enabled by
2626
// default in the current toolchain. This is, in effect, the "control"

0 commit comments

Comments
 (0)