cuviper / autocfg

Automatic cfg for Rust compiler features
Apache License 2.0
95 stars 24 forks source link

Add getter `no_std()` and setter `set_no_std(bool)` #27

Closed cuviper closed 5 months ago

cuviper commented 3 years ago

We already detected whether we should be using #![no_std] for targets without std (#5), but now you can get that result and even change it.