-
Notifications
You must be signed in to change notification settings - Fork 432
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
release 0.4.4 broke semver contract #688
Comments
If I had to guess, this addition [target.'cfg(target_env = "sgx")'.dependencies]
rdrand = "0.4.0"
rand_core = "0.3.0" is probably unconditionally enabling the "std" feature of the |
It's incorrect configuration, the cited TOML should be: [target.'cfg(target_env = "sgx")'.dependencies]
rdrand = "0.4.0"
rand_core = { version = "0.3", default-features = false } And (I wonder if it's worth to do such backports, though.) |
Ah, the 0.4 series doesn't use So your build uses Rand 0.4 and 0.5, and you are not using But I don't get why it matters since you're not targetting SGX? |
@newpavlov want to make the PR for 0.4.5? |
I think it's the same bug in cargo which enables features enabled in |
@japaric can you test 0.4.5 please? |
@dhardy I checked and it works without a problem. Thanks for the quick fix! |
And
cortex-m-rtfm
no longer compiles after this release.Though I don't really understand how since the changes between 0.4.3 and 0.4.4 are minimal
STR
$ cat Cargo.toml
$ cat bar/Cargo.toml
If I pin the rand 0.4 version to 0.4.3 then this crate compiles:
$ cat bar/Cargo.toml
Meta
The text was updated successfully, but these errors were encountered: