Preferences

Wow TIL cross compilation is a bit of a pain in Rust. I assumed it was as easy as Go. I can confirm as long as you're using pure Go (no cgo), it's as easy as setting $GOOS and $GOARCH appropriately.

paulddraper
The difficulty is due to Rust dynamically linking and Go statically linking. The former requires the system libs.

That said, I am unfamiliar with any licensing for Windows builds.

MacOS has some niche (usually discarded) technicalities like you can only use the SDK on Apple hardware.

threemux OP
I think that's a reference to the use of Docker in the "cross" tool that makes cross compilation easier but I'm not certain

This item has no comments currently.