This is more of a Rust quirk[1] than a glibc/musl thing. Glibc
can be used statically (though it's not really recommended -- hence why Rust doesn't support it and requires you to use musl instead).
[1]: https://doc.rust-lang.org/edition-guide/rust-2018/platform-a...