This is similar to ideas we’ve had in the past to make rlib contain only mir and delay code generation until later. The later code generation is delayed the more opportunities there are to merge monomorphizations. Any changes here are heavily impacted by incremental compilation.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Crate dependency discovery | 24 | 3814 | May 14, 2020 | |
"Interface-only" crate type? | 13 | 2331 | June 9, 2019 | |
Could rustc compile dependencies in parallel? | 5 | 3109 | June 5, 2019 | |
Parallel-friendliness in the Rust compiler
|
38 | 2851 | January 23, 2023 | |
Idea: Improving parallelism with metadata generation improvements | 5 | 867 | January 15, 2020 |