cuviper / autocfg

Automatic cfg for Rust compiler features
Apache License 2.0
94 stars 23 forks source link

Probing doesn't work for no-std targets #4

Closed cuviper closed 5 years ago

cuviper commented 5 years ago

The probe command is using $RUSTC --target $TARGET, but if that target doesn't have std, all probes will fail to load the std prelude. We're going to need a way to add #![no_std].

ref: https://github.com/rust-num/num-traits/issues/115