We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e57ecd commit 86ad2d5Copy full SHA for 86ad2d5
src/cmd/go/internal/load/pkg.go
@@ -2606,7 +2606,12 @@ func externalLinkingForced(p *Package) bool {
2606
}
2607
2608
// Some targets must use external linking even inside GOROOT.
2609
- if platform.MustLinkExternal(cfg.BuildContext.GOOS, cfg.BuildContext.GOARCH, false) {
+ switch cfg.BuildContext.GOOS {
2610
+ case "android":
2611
+ if cfg.BuildContext.GOARCH != "arm64" {
2612
+ return true
2613
+ }
2614
+ case "ios":
2615
return true
2616
2617
0 commit comments