Incremental compiliation is ineffective when building compiler #55500
Labels
A-incr-comp
Area: Incremental compilation
I-compiletime
Issue: Problems and improvements with respect to compile times.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-incr-comp
Working group: Incremental compilation
Rebuilding the compiler took 15 minutes after simply running
touch
on a file. Given that nothing has actually changed, I would expect that rebuilding would be much faster.Steps to reproduce:
rust
repository.incremental = true
in therust
section ofconfig.toml
../x.py clean
if you've previously built the compiler./x.py build
touch src/librustc/traits/auto_trait.rs
./x.py build
again.The second
./x.py build
invocation takes much longer than it should (~15 minutes on my machine), considering that the only thing that's changed is a file timestamp.The text was updated successfully, but these errors were encountered: