-
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
Can't compile 0.7.0 in no_std
environment
#868
Comments
The same test with 0.6.0 seems to work great. |
It looks like somewhere in our dependency graph is a version of If you look in your |
As I mentioned, only
So, it looks like |
If you build |
If you run |
Isn't that the cargo bug where crates wind up with their test features? |
@burdges You are right, it seems that the dev-dependency |
Aha; it looks like this is fixed on the master branch. Sorry for the noise! Eagerly awaiting a new release! |
Sorry, I have limited access at the moment, but if @vks opens a PR preparing a new release I can do the rest. However maybe we want to deal with some of the other PRs first? |
Starting from
cargo new rand_test
, I added the following line toCargo.toml
:rand = { version = "0.7.0", default-features = false }
. Then, replacedmain.rs
with the following file:Then, I tried to compile it for arm with
cargo build --target thumbv7em-none-eabihf
.I expected errors about not including exception handlers/runtime, but instead, I got the following error:
Is there a different set of feature-flags I need to disable std support in
rand
?The text was updated successfully, but these errors were encountered: