On Fri, Mar 22, 2019 at 5:04 PM whitehexagon via golang-nuts
<golang-nuts@googlegroups.com> wrote:
>
> I'm experimenting with some cross platform development in Go.  btw loving the 
> WASM support!
>
> so for mac desktop I'm using // +build darwin,386
> for android I can see a GOOS android value, so I'm guessing +build 
> android,386 for the emulator? and +build android,arm for device?
> but I cant work out what I need for iOS
>
> any tips please?

At present we're testing on GOARCH.  GOOS=darwin for both macOS and
iOS.  GOARCH=amd64 for macOS.  GOARCH=arm or arm64 for iOS.

We'll have to change that if Apple starts shipping x86
phones/watches/TVs or arm64 laptops/desktops/minis.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to