3 ms·
> With Go, you can just emit a binary for every supported platform dump the binary somewhere, and everyone in the world can download it and run it. Does this h
by the_gipsy 5y ago
> With Go, you can just emit a binary for every supported platform dump the binary somewhere, and everyone in the world can download it and run it.
Does this hold true? Don’t you need to switch to musl or something, to build a static binary?
- mdaniel 5y agoI believe you may be thinking of `CGO_ENABLED=1` which causes golang binaries to fail to run on musl distros So yes, your comment is probably right, but I get the impression the grandparent was a tiny bit tongue in cheek anyway
- moondev 5y agoIt's actually easier now. On your target platform just "go run <import path>