Skip to content

Commit 748c0d8

Browse files
committed
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 <[email protected]> Run-TryBot: Cherry Zhang <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Austin Clements <[email protected]>
1 parent 1bcf6be commit 748c0d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/dist/build.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,8 +1462,8 @@ func wrapperPathFor(goos, goarch string) string {
14621462
if gohostos != "android" {
14631463
return pathf("%s/misc/android/go_android_exec.go", goroot)
14641464
}
1465-
case (goos == "darwin" || goos == "ios") && goarch == "arm64":
1466-
if gohostos != "darwin" || gohostarch != "arm64" {
1465+
case goos == "ios":
1466+
if gohostos != "ios" {
14671467
return pathf("%s/misc/ios/go_ios_exec.go", goroot)
14681468
}
14691469
}

0 commit comments

Comments
 (0)