all: add GOOS=ios

Following CL 254740, this CL does it on x/sys.

Updates golang/go#38485.

Change-Id: I5eab09a9a87c87fc883b5701434415648fb28eb0
Reviewed-on: https://go-review.googlesource.com/c/sys/+/255557
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Cherry Zhang
2020-09-23 18:26:05 +00:00
parent aee5d888a8
commit d9f96fdee2
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func TestAVX2hasAVX(t *testing.T) {
}
func TestARM64minimalFeatures(t *testing.T) {
if runtime.GOARCH != "arm64" || runtime.GOOS == "darwin" {
if runtime.GOARCH != "arm64" || (runtime.GOOS == "darwin" || runtime.GOOS == "ios") {
return
}
if !cpu.ARM64.HasASIMD {