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.
In fact, this new default will be used for any profile which does not enable debuginfo anywhere in its dependency chain, not just for the release profile.
On reflection I imagine the debug profile does enable this
On reflection I imagine the debug profile does enable this
Yeah, this make sence