hobofan / cargo-nono

Check your crate for (possible) no_std compatibility
Apache License 2.0
209 stars 12 forks source link

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: StripPrefixError(())', #46

Closed brenzi closed 4 years ago

brenzi commented 4 years ago

running on https://github.com/w3f/schnorrkel.git

cargo nono check --no-default-features
schnorrkel: FAILURE
  - Source code contains an explicit `use std::` statement.
   --> src/musig.rs

  - Source code contains an explicit `use std::` statement.
   --> src/vrf.rs

subtle: SUCCESS
failure: SUCCESS
sha2: SUCCESS
zeroize: FAILURE
  - Source code contains an explicit `use std::` statement.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: StripPrefixError(())', src/libcore/result.rs:1084:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
hobofan commented 4 years ago

Fixed and released in 0.1.8