diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go index 69a66abd2d..398ed6bce1 100644 --- a/src/cmd/dist/build.go +++ b/src/cmd/dist/build.go @@ -1462,8 +1462,8 @@ func wrapperPathFor(goos, goarch string) string { if gohostos != "android" { return pathf("%s/misc/android/go_android_exec.go", goroot) } - case (goos == "darwin" || goos == "ios") && goarch == "arm64": - if gohostos != "darwin" || gohostarch != "arm64" { + case goos == "ios": + if gohostos != "ios" { return pathf("%s/misc/ios/go_ios_exec.go", goroot) } }