News for hackers. Stuff that matters.
Re:Making Rust binaries smaller by default by nindalf on Wednesday January 24, 2024 @08:52AM (#39117327)
Yes, I am sure this is going to be a part of Rust 1.77.0 and it will release on 21st March. I say that because of the tag in the PR (https://github.com/rust-lang/cargo/pull/13257#event-11505613...).

I'm no expert on Rust compiler development, but my understanding is that all code that is merged into master is available on nightly. If they're not behind a feature flag (this one isn't), they'll be available in a full release within 12 weeks of being merged. Larger features that need a lot more testing remain behind feature flags. Once they are merged into master, they remain on nightly until they're sufficiently tested. The multi-threaded frontend (https://blog.rust-lang.org/2023/11/09/parallel-rustc.html) is an example of such a feature. It'll remain nightly only for several months.

Again, I'm not an expert. This is based on what I've observed of Rust development.

Re:Making Rust binaries smaller by default by sestep on Wednesday January 24, 2024 @08:54AM (#39117361)
Ah I see, I misunderstood: you were talking about `strip = "debuginfo"`, while I thought you were talking about `build-std`. Thank you for the link/clarification!
Re:Making Rust binaries smaller by default by pdimitar on Wednesday January 24, 2024 @09:04AM (#39117464)
Oof, here I have mistaken the simple strip debug stuff default flag with the `build-std` work which is much more complex. Sorry.