I am trying to dig up some information about
codegen-units. I see the feature referenced as far back as 2014: https://internals.rust-lang.org/t/default-settings-for-parallel-codegen/519
If anyone with background in this area can answer any of these questions, I’d really appreciate:
- What is the minimum Rust needed to pass
When was theI thought I remembered reading about this in a blog, but can’t find it. This reduces the full amount of optimizations that can be used (e.g. https://github.com/rust-lang/rust/issues/47745) and I’m trying to bring this information together into a
16for release profiles?
min-sized-rustrepo that shows how to minimize Rust binary size.
Edit: Found that Rust 1.24.0 set the default to 16: https://github.com/rust-lang/rust/blob/master/RELEASES.md#compiler-7