Hacker News new | past | comments | ask | show | jobs | submit login

There 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.



> here are important reasons why Rust should continue to use glibc by default

To be more compatible with system code?


That’s one reason. Another is NSS:

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: