pub(crate) fn target_config(sess: &Session) -> TargetConfig
Expand description
Used to generate cfg variables and apply features. Must express features in the way Rust understands them.
We do not have to worry about RUSTC_SPECIFIC_FEATURES here, those are handled outside codegen.