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

Print cause backtrace for failure for any top-level cause #11

Open
hobofan opened this issue Jan 5, 2019 · 0 comments
Open

Print cause backtrace for failure for any top-level cause #11

hobofan opened this issue Jan 5, 2019 · 0 comments

Comments

@hobofan
Copy link
Owner

hobofan commented Jan 5, 2019

Example (Running cargo nono check on https://github.com/hobofan/margo/tree/27974290ca4c957efaff52ae9641859a3158e848):

cargo nono check --package margo-fetch
margo-fetch: ❌
  - Did not find a #![no_std] attribute or a simple conditional attribute like #[cfg_attr(not(feature = "std"), no_std)] in the crate source. Crate most likely doesn't support no_std without changes.
sha2: ✅
futures: ✅
serde: ❌
  - Crate supports no_std if "std" feature is deactivated.
    - Caused by feature flag "std" in crate "serde:1.0.84"
      - Caused by feature flag "default" in crate "serde:1.0.84"
        - Caused by implicitly enabled default feature from "margo-fetch:0.1.0"
serde_derive: ✅
log: ✅
hex: ❌
  - Did not find a #![no_std] attribute or a simple conditional attribute like #[cfg_attr(not(feature = "std"), no_std)] in the crate source. Crate most likely doesn't support no_std without changes.
regex: ❌
  - Did not find a #![no_std] attribute or a simple conditional attribute like #[cfg_attr(not(feature = "std"), no_std)] in the crate source. Crate most likely doesn't support no_std without changes.

For hex and regex, it shouldn't just print that it assumes that it's not supported, but also that those crates are only optional dependencies and are activated by a certain feature flag.

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

No branches or pull requests

1 participant