Closed
Description
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:
- Clone the
rust
repository. - Set
incremental = true
in therust
section ofconfig.toml
. - Run
./x.py clean
if you've previously built the compiler - Run
./x.py build
- Run
touch src/librustc/traits/auto_trait.rs
- Run
./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.