2 ms·
By default no for Go, but it's much easier to get their then Rust. In Go you run this to build: CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "
by XorNot 1y ago
By default no for Go, but it's much easier to get their then Rust.
In Go you run this to build:
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .
I do not actually know how you get this done in Rust (you do something with musl and a bunch of other stuff).