Function rustc_session::config::to_crate_check_config
source · [−]pub fn to_crate_check_config(cfg: CheckCfg) -> CrateCheckConfigExpand description
Converts the crate --check-cfg options 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.