Function rustc_session::config::to_crate_config
source · pub fn to_crate_config(cfg: FxHashSet<(String, Option<String>)>) -> CrateConfig
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.