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

Update to newer cargo, fix issue #79 #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TaborKelly
Copy link

This specifies cargo = ">=0.82.0" in Cargo.toml but actually resolves to 0.83.0 in Cargo.lock.

This specifies cargo = ">=0.82.0" in Cargo.toml but actually resolves to
0.83.0 in Cargo.lock.
@paolobarbolini
Copy link
Contributor

Putting >= in version requirements is usually bad, because it means you are not reducing the range to versions that fall in 0.82.n (what semver defines as ^0.82 or in Rust simply 0.82), but you are allowing any future version to be picked up by the dependency solver. Every once in a while, cargo will make a breaking change to their API that will affect you and break the build. The right thing to do is to pin a version as has always been done, and just bump it when new versions come out.

See https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html for more info.

@marcobergamin-videam
Copy link

@TaborKelly thanks, you saved me.
cargo-bitbake wasn't working anymore after updating my dependencies and Rust

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.

3 participants