Skip to content
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

Recommend cargo install --locked #680

Merged
merged 2 commits into from
Sep 12, 2022

Conversation

workingjubilee
Copy link
Member

Otherwise Cargo will try to select "whatever seems compatible" in terms of crates when they install, which can in rare cases result in them trying to pull in versions which the Rust toolchain we intend to build with cannot actually compile. This was used to solve a dependency/version problem a while ago in tcdi/plrust#73 and it seems like a better recommendation for our users in general.

@BradyBonnette
Copy link
Contributor

Interesting, I would have thought default behavior of cargo would be to use exactly what is in the Cargo.lock file at all times if it's present.

@workingjubilee
Copy link
Member Author

Sadly not the case!

@workingjubilee workingjubilee merged commit fd08444 into develop Sep 12, 2022
@eeeebbbbrrrr eeeebbbbrrrr deleted the recommend-cargo-install-locked branch June 20, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants