Module cfg

Source

Structs§

Condition

Traits§

CfgMatchesLintEmitter
Emitter of a builtin lint from cfg_matches.

Functions§

cfg_matches
Tests if a cfg-pattern matches the cfg set
eval_condition
Evaluate a cfg-like condition (with any and all), using eval to evaluate individual items.
gate_cfg 🔒
try_gate_cfg 🔒