Making Rust binaries smaller by default
https://kobzol.github.io/rust/cargo/2024/01/23/making-rust-binaries-smaller-by-default.html
Discussions: https://discu.eu/q/https://kobzol.github.io/rust/cargo/2024/01/23/making-rust-binaries-smaller-by-default.html
#programming #rustlang
Have you ever tried to compile a helloworld Rust program in --release mode? If yes, have you seen its binary size? Suffice to say, it’s not exactly small. Or at least it wasn’t small until recently. This post details how I found about the issue and my attempt to fix it in Cargo.
@rust_discussions
No more bloated binaries by default. Finally!
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.