Gerrit Bot has uploaded this change for review.
add path for termux on android 9+/arm64
similar change was enabling fyne to build apk on termux https://youtu.be/uGtVjf4_Ivo
Change-Id: I61f162d5eb6bef6ccade9f67ca1cb11cb97352ce
GitHub-Last-Rev: 934608c2d8a4731a49eafa2004d3a2305c8db576
GitHub-Pull-Request: golang/mobile#92
---
M cmd/gomobile/env.go
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/cmd/gomobile/env.go b/cmd/gomobile/env.go
index 43f24b9..04550fe 100644
--- a/cmd/gomobile/env.go
+++ b/cmd/gomobile/env.go
@@ -530,6 +530,9 @@
arch = "x86_64"
break
}
+ if runtime.GOOS == "android" { // termux
+ return "linux-aarch64"
+ }
fallthrough
default:
panic("unsupported GOARCH: " + runtime.GOARCH)
To view, visit change 498835. To unsubscribe, or for help writing mail filters, visit settings.
Patch set 1:Code-Review +2
1 comment:
File cmd/gomobile/env.go:
remove the extra space at the end.
To view, visit change 498835. To unsubscribe, or for help writing mail filters, visit settings.
Patch set 1:Run-TryBot +1
Attention is currently required from: Hyang-Ah Hana Kim.
Gerrit Bot uploaded patch set #2 to this change.
The following approvals got outdated and were removed: Run-TryBot+1 by Hyang-Ah Hana Kim
add path for termux on android 9+/arm64
similar change was enabling fyne to build apk on termux https://youtu.be/uGtVjf4_Ivo
Change-Id: I61f162d5eb6bef6ccade9f67ca1cb11cb97352ce
GitHub-Last-Rev: 64817599e1d08cb0052ccd693dc2c8ec557139e8
GitHub-Pull-Request: golang/mobile#92
---
M cmd/gomobile/env.go
1 file changed, 3 insertions(+), 0 deletions(-)
To view, visit change 498835. To unsubscribe, or for help writing mail filters, visit settings.