mirror of
https://github.com/golang/go
synced 2024-11-08 11:56:16 -07:00
cmd/dist: only build ios_exec wrapper for ios
Not for darwin/arm64. Updates #38485. Change-Id: I08a5f00fd77f20c9c483755a36755a63cf10aa1a Reviewed-on: https://go-review.googlesource.com/c/go/+/262558 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
1bcf6beec5
commit
748c0d87e2
4
src/cmd/dist/build.go
vendored
4
src/cmd/dist/build.go
vendored
@ -1462,8 +1462,8 @@ func wrapperPathFor(goos, goarch string) string {
|
|||||||
if gohostos != "android" {
|
if gohostos != "android" {
|
||||||
return pathf("%s/misc/android/go_android_exec.go", goroot)
|
return pathf("%s/misc/android/go_android_exec.go", goroot)
|
||||||
}
|
}
|
||||||
case (goos == "darwin" || goos == "ios") && goarch == "arm64":
|
case goos == "ios":
|
||||||
if gohostos != "darwin" || gohostarch != "arm64" {
|
if gohostos != "ios" {
|
||||||
return pathf("%s/misc/ios/go_ios_exec.go", goroot)
|
return pathf("%s/misc/ios/go_ios_exec.go", goroot)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user