>
>
> (But in the normal case you shouldn't have to set GOOS/GOARCH
> yourself, the build process should pick the right ones.)


Although this sounds like good advice, my experience suggests that one be
explicit. The Apple on-the-fly handling of binary translation means both
that you must bootstrap from amd64 binaries, and that that tends to stick.
It took a few tries to get arm64 established.

So whatever you do, use the file command after the fact to verify that you
have arm64 binaries. The translation is so good that you might well be
running amd64 and not know it.

-rob

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOXNBZSv5LQL4fVESZXzNMFX__kBaCGQDgRJOsWmZUGhmSEJ5w%40mail.gmail.com.

Reply via email to