4 ms·
Is it possible to compile with statically linked musl with the pre-built Rust toolchain on a standard glibc based distribution?
by loosescrews 6y ago
Is it possible to compile with statically linked musl with the pre-built Rust toolchain on a standard glibc based distribution?
- SomaticPirate 6y agoYes, but there are claims it is slower https://www.reddit.com/r/rust/comments/a6pna3/comment/ebzpzld https://www.reddit.com/r/rust/comments/a6pna3/comment/ebzpzl...
- saagarjha 6y agomusl is generally not optimized for performance.
- mkj 6y agoYes, it works well. The main caveat I've found is you need the rustls feature of packages rather than openssl. Though perhaps that was more related to cross compiling for Arm.