-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
cargo-install unnecessarily rebuilds everything #5667
Comments
I think this change was intentional, see #5327. You should have gotten a warning:
|
@ehuss I fail to see how that could be related. I'm a distribution packager and our install phase doesn't have access to the network so resyncing crates.io breaks stuff, and rebuilding everything that was built just before during the compile phase doesn't seem necessary... |
Actually, this is probably a duplicate of #5662 |
Ah, sorry, I misunderstood. Indeed using |
Indeed I believe this is a duplicate! Closing in favor of #5662 |
Starting with rust 1.27, if I run
cargo build --release
thencargo install
, the latter syncs its crates.io local copy and rebuilds everything.This didn't happen with rust 1.26.
Might be related to the latest failure in rust-lang/rust#51717 (comment) ?
The text was updated successfully, but these errors were encountered: