2 ms·
1. Yes, as you can see from the output of ldd: "not a dynamic executable". 2. Go does not use glibc or musl, they implemented all of that stuff themselves. cgo
by steveklabnik 11y ago
1. Yes, as you can see from the output of ldd: "not a dynamic executable".
2. Go does not use glibc or musl, they implemented all of that stuff themselves. cgo will link to glibc or musl though.
3. By default, all Rust code _is_ statically linked; it's only the libc that's not. Using musl just gets you the last step of the way.