|
|
|
|
|
by mcronce
557 days ago
|
|
I don't think that's a commonly touted benefit of Rust. You certainly can build a statically linked binary with musl libc (in many circumstances, at least), but it's not the default. The default is a binary that statically links all the Rust crates you pull in, but dynamically links glibc, the vdso, and several other common dependencies. It's also, IIRC, the default to dynamically link many other common dependencies like openssl if you pull them in, although I think it's common for the crates that wrap them to offer static linking as an option. |
|