-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Description
I'm curious whether it would make sense for incremental = true
to be the default for rustbuild in the absence of another setting.
Per @eddyb on IRC:
07:53 <eddyb> it used to be bad for a bit until a few months ago (that is, it would produce a very slow compiler) but nowadays we should just turn it on by default lol
07:53 <eddyb> (feel free to open an issue about it)
07:53 <eddyb> it would need to not be turned on for {stable,beta,nightly} builds (as opposed to regular dev builds), but idk how that's handled (I assume it's still possible to make that distinction)
Searching around for incremental-related compiler perf issues it does seem to me that most of them are closed.
Metadata
Metadata
Assignees
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.