cuviper / autocfg

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

Add `AutoCfg::probe_raw` for free-form probes #59

Closed cuviper closed 6 months ago

cuviper commented 7 months ago

This takes an arbitrary string that will be fed to the compiler as-is, without even interjecting #![no_std] like other probe methods. It also returns a Result with the full Error, so you could choose to print verbose details on failure, for example.

Resolves #24.