cuviper / autocfg

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

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

Closed cuviper closed 4 months ago

cuviper commented 5 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.