Closed paulburlumi closed 2 years ago
Using GOOS=android matches build tags and files as for GOOS=linux in addition to android tags and files. See https://groups.google.com/g/golang-nuts/c/ZTGMjhEV7uY for further details.
GOOS=android
GOOS=linux
Without this change when using gomobile bind I see the following error:
gomobile bind
# github.com/hashicorp/go-secure-stdlib/mlock ../pkg/mod/github.com/hashicorp/go-secure-stdlib/mlock@v0.1.1/mlock_unix.go:15:6: lockMemory redeclared in this block /tmp/gomobile-work-2337392267/pkg/mod/github.com/hashicorp/go-secure-stdlib/mlock@v0.1.1/mlock_unavail.go:9:19: previous declaration
Using
GOOS=android
matches build tags and files as forGOOS=linux
in addition to android tags and files. See https://groups.google.com/g/golang-nuts/c/ZTGMjhEV7uY for further details.Without this change when using
gomobile bind
I see the following error: