commit | 5d5d88d1b16bf5ce5d7d728df7c9413a8e2e63ea | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Thu Apr 19 23:38:10 2018 +0200 |
committer | Elias Naur <elias.naur@gmail.com> | Fri Apr 20 08:11:07 2018 +0000 |
tree | 5c4c94fae447e0aebb8f8c754ea810100e000171 | |
parent | 9422505f132005a951e629af86c5d471f6932c09 [diff] |
cmd/gomobile: add CGO_ENABLED=1 to gobind runs A previous CL switched gobind to use the "source" importer so go files using cgo can be type checked. However, CGO_ENABLED=1 also have to be passed in for such files not be ignored. Also add -tags ios to the gomobile test output missing from CL 99777. Fixes golang/go#24941 Change-Id: I868469af3061b82ab592899e365a8a90a0333e58 Reviewed-on: https://go-review.googlesource.com/108336 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.