Skip to content

Commit bcce011

Browse files
committed
cmd/gomobile: remove darwin/386 support
Go 1.15 no longer supports darwin/386 and supports only arm64 and amd64 for darwin. Updates golang/go#39575 Change-Id: I89e43f195f87baf5ea647da40614c579fbe45f88 Reviewed-on: https://go-review.googlesource.com/c/mobile/+/243838 Run-TryBot: Hajime Hoshi <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 68de546 commit bcce011

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/gomobile/env.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var (
2828
func allArchs(targetOS string) []string {
2929
switch targetOS {
3030
case "ios":
31-
return []string{"arm64", "386", "amd64"}
31+
return []string{"arm64", "amd64"}
3232
case "android":
3333
return []string{"arm", "arm64", "386", "amd64"}
3434
default:
@@ -149,7 +149,7 @@ func envInit() (err error) {
149149
case "arm64":
150150
clang, cflags, err = envClang("iphoneos")
151151
cflags += " -miphoneos-version-min=" + buildIOSVersion
152-
case "386", "amd64":
152+
case "amd64":
153153
clang, cflags, err = envClang("iphonesimulator")
154154
cflags += " -mios-simulator-version-min=" + buildIOSVersion
155155
default:

0 commit comments

Comments
 (0)