-
Notifications
You must be signed in to change notification settings - Fork 62
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 seem to use without std #23
Comments
Hi, I would suspect that some other dependency is pulling in either with default features, or either with the serde feature. Either of those seems to be the likely explanation.
|
Adding and removing the dependency lines above causes the failure. It's not getting to any of my code yet. If I take it out, it fails in my code with the expected errors about Either being unresolved but all the deps are built (so it seems like nothing else is pulling it in).
Code is at https://github.com/dcarosone/ws2812b (the firmware subdir). Note: there's plenty of other brokenness here; it's a WIP for japaric/ws2812b#5 chosen very much as a learning exercise. In some of the updated examples, Either is being used and I'm trying to replicate that. |
Here's your inverted dependency tree:
However, |
Oh. Well, that's at least an explanation, thank you! I guess I'll try going back to xargo and see if that helps; being able to use cargo for this is quite new and perhaps this is a missed case. |
Just for cross reference, I think this is rust-lang/cargo#2589. |
Cargo.toml has what seems to me to be the right thing from the documentation:
and yet cargo build complains, in a no_std project:
Disclaimer: I'm a newb, and probably doing something dumb, but I can't see what. Today's nightly, in case it matters.
The text was updated successfully, but these errors were encountered: