Function rustc_driver::config::to_crate_config[−][src]

pub fn to_crate_config(
    cfg: HashSet<(String, Option<String>), BuildHasherDefault<FxHasher>>
) -> HashSet<(Symbol, Option<Symbol>), BuildHasherDefault<FxHasher>>
Expand description

Converts the crate cfg! configuration from String to Symbol. rustc_interface::interface::Config accepts this in the compiler configuration, but the symbol interner is not yet set up then, so we must convert it later.