-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
How to build all upgraded executables with --locked
?
#191
Comments
Global/all-package configuration is something I've largely wanted to avoid tbh; as it stands, you could run The ergonomics of this are, again, questionable, but [insert last paragraph of #192]. |
ah didn't know you could set I do think in general that this ultimately should be the default (also in Cargo) as it is safer and more expected to build with tested dependencies rather than latest available. But being able to use this and start testing with this should solve this specific issue. thx! |
can confirm it worked! for example here was
|
So they are built with the exact versions of the dependencies that they have been tested on with their
Cargo.lock
(if they have one, which executables should have).Saw there is an
enforce_lock
setting and ancargo install-update-config --enforce-lock
command but unsure how to use this so the commandcargo install-update -a
would build all upgraded executables withcargo build --locked
.Somewhat related Cargo issue: rust-lang/cargo#7169, though while it is an issue that
cargo install xx
doesn't build it with--locked
,cargo install xx --locked
is supported.The text was updated successfully, but these errors were encountered: