4 ms·
I’m genuinely curious now, what made you so convinced that it would be completely statically linked?
by whytevuhuni 1y ago
I’m genuinely curious now, what made you so convinced that it would be completely statically linked?
- IshKebab 1y agoI think people often talk about Rust only supporting static linking so he probably inferred that it couldn't dynamically link with anything. Also Go does produce fully static binaries on Linux and so it's at least reasonable to incorrectly guess that Rust does the same. Definitely shouldn't be so confident though!
- CamouflagedKiwi 1y agoGo may or may not do that on Linux depending what you import. If you call things from `os/user` for example, you'll get a dynamically linked binary unless you build with `-tags osusergo`. A similar case exists for `net`.
- guappa 1y agogo by default links libc
- IshKebab 1y agoIt doesn't. See the sibling comment.