4 ms·
Will Rust be able to switch to it completely as to cut out relying on glibc on Linux for example?
by shmerl 9y ago
Will Rust be able to switch to it completely as to cut out relying on glibc on Linux for example?
- jackpot51 9y agoYes, that would be possible.
- thristian 9y agoThere are important reasons why Rust should continue to use glibc by default, but the Rust compiler already supports musl libc on Linux, so glibc is not required.
- shmerl 9y ago> here are important reasons why Rust should continue to use glibc by default To be more compatible with system code?
- comex 9y agoThat’s one reason. Another is NSS: http://www.gnu.org/software/libc/manual/html_node/Name-Service-Switch.html http://www.gnu.org/software/libc/manual/html_node/Name-Servi... It’s a mechanism in glibc for loading dynamic libraries at runtime (based on a config file) to handle DNS and some other things. Anything statically linked can’t support this, which can cause issues with some setups.