rustc_interface::interface

Function parse_cfg

Source
pub(crate) fn parse_cfg(dcx: DiagCtxtHandle<'_>, cfgs: Vec<String>) -> Cfg
Expand description

Converts strings provided as --cfg [cfgspec] into a Cfg.