Re:Rust 1.100.0
by iknowstuff on Thursday November 12, 2026 @03:58PM
(#50474178)
Also
“Relink, don't rebuild” #790
Re:Rust 1.100.0
by mohamedkoubaa on Thursday November 12, 2026 @04:50PM
(#50474818)
Ive always wondered why this wasn't an option from the beginning
To do it right you need
- stable id's even when the source changes
- a separate output file dedicated to it so you hash that
Those aren't free, taking extra work to implement and possibly slow down the compiler
Note that this is a special form of early cut off (which was listed) where you are hashing a more specialized output file, rather than a broader one.
That said, this release doesn't include anything more than incremental improvements.
Some changes that have been or are about to be merged for upcoming releases
- We will be reducing the debug info generated for the `dev` profile which reduces build-dir size and speeds up builds. We've split off a `debug` profile for when that is needed.
- Cargo will be deleting the directory rustc writes before each invocation, avoiding the leaking of debug files when split-debug is enabled (default on Mac)
- rlibs for workspace members will no longer be copied from build-dir to target-dir which takes up extra space on systems without hardlinking or where we skip it (like Mac)
- redundant information in rlibs and rmeta's is going to be de-duplicated
Examples of further out changes
- This release includes the foundational work to add a build-dir GC
- Cross-workspace de-duplicating of build-dirs
- Cross-workspace build-dir cache
- Early cut off