Skip to main content

is_cfg_active

Function is_cfg_active 

Source
fn is_cfg_active(cfgs: &[String], active_features: &HashSet<String>) -> bool
Expand description

Evaluate whether a set of #[cfg(...)] attributes is active given the current features.