Re:Porting Rust's Std to Rustix
by masklinn on Tuesday January 04, 2022 @11:22AM
(#29796514)
> * musl linked dynamically
> * musl linked statically
This is handled through the orthogonal "crt-static" target-feature.
IIRC each supported CRT has a preference, but for some that can be overridden (musl would be one of those, possibly one of few of those since statically linking glibc is generally recommended against, and so's pretty much every non-linux libc, when that's an option at all).
> * musl linked statically
This is handled through the orthogonal "crt-static" target-feature.
IIRC each supported CRT has a preference, but for some that can be overridden (musl would be one of those, possibly one of few of those since statically linking glibc is generally recommended against, and so's pretty much every non-linux libc, when that's an option at all).