hobofan / cargo-nono

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

List of crates with wrong check results #4

Open hobofan opened 5 years ago

hobofan commented 5 years ago

Since the checks rely on currently somewhat limited mechanisms, it's probably a good idea to start compiling a list of where the checks yield wrong results. This then allows us to more targetly work towards improving the checks by having real-world test cases for them.

Contributions are highly welcome!

crates

rand_isaac:

repo: https://github.com/rust-random/rand Wrongly identified as not supporting no_std because of non-trivial feature gate code: #![cfg_attr(not(all(feature="serde1", test)), no_std)]

History

Support for libc has been fixed: See #1

barafael commented 3 years ago

at-commands: repo: https://github.com/diondokter/at-commands Wrongly identified as not suporting no_std because of just about non-trivial combination of feature gates: #![cfg_attr(all(not(test), not(feature = "std")), no_std)]

barafael commented 3 years ago

num-traits: repo: https://github.com/rust-num/num-traits Wrongly accepted, but default features include std

barafael commented 3 years ago

sdp8xx-rs: repo: https://github.com/barafael/sdp8xx-rs/tree/main/sdp8xx file src/test.rs includes explicit use std;, but gated behind feature test