Skip to content

Conversation

@blyxyas
Copy link
Member

@blyxyas blyxyas commented Dec 30, 2025

Design, propose, and implement a redesign of the incremental system to allow for shared common bases between different Rustc invocations with different arguments (i.e. cargo build and cargo check)

There's already an on-going RFC.
As my other project goals, this is a formalization of an already existing effort.

cc rust-lang/rfcs#3881

Rendered

Copy link
Contributor

@nikomatsakis nikomatsakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I'll look into the question of champion from the compiler team side.

Summing to the already slow compilation times, having to rebuild the workspace on every different command is a pain
point discovered in the performance survey.

### The next 6 months
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you sketch out a bit more of what you think you can get done in 6 months to a year? The basic goal here, I assume, is that this is largely invisible to users, it's just that things go faster?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may also be something best discussed with a champion.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I completely went over this section. I'll add a roadmap

@nikomatsakis nikomatsakis merged commit 193b99c into rust-lang:main Jan 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants