-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unconditionally rebuilds all deps on rust nightly #436
Comments
I tried this out on my simple snippet crate and assuming I set
I noted that there's an existing workaround in sccache that points to rust-lang/rust#54852 where |
calling
cargo build ; cargo build
will cause sccache to try to rebuild the entire dep tree + root crate twice, even though nothing changed and it should technically not.Cargo with rustc (and no RUSTC_WRAPPER) gets this right and does not rebuild anything on the second "cargo build" run.
This happens since this commit in the cargo repo: rust-lang/cargo@6b28a0c
Related cargo ticket: rust-lang/cargo#6976
The text was updated successfully, but these errors were encountered: