News for hackers. Stuff that matters.
Re:Rust 1.100.0 by epage on Thursday November 12, 2026 @03:03PM (#50473366)
Faster compile and smaller build-dir can be at odds with each other.

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

Re:Rust 1.100.0 by iknowstuff on Thursday November 12, 2026 @03:58PM (#50474178)
Also

“Relink, don't rebuild” #790

https://github.com/rust-lang/compiler-team/issues/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
Re:Rust 1.100.0 by epage on Thursday November 12, 2026 @07:41PM (#50476603)
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

Re:Rust 1.100.0 by epage on Thursday November 12, 2026 @07:42PM (#50476610)
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.
Re:Rust 1.100.0 by pjmlp on Thursday November 12, 2026 @04:31PM (#50474587)
Thanks for the list, looking forward to those improvements.