3 ms·
Don't get me wrong (I mean I'm rewriting in Rust), but: LTO and static compilation are available to binaries built and statically linked with musl (it's one of
by dikaiosune 10y ago
Don't get me wrong (I mean I'm rewriting in Rust), but:
LTO and static compilation are available to binaries built and statically linked with musl (it's one of the main advantages musl has over glibc, aside from being a more readable and cleaner codebase). And musl has done a lot of work to have correct cross-platform implementations. Granted whenever Rust adds a new target, it should be easier for things to "just work" when cross-compiled, but Rust is far less portable than C + a modicum of macros at the moment.