pub(crate) fn add_configuration(
cfg: &mut Cfg,
target_config: &TargetConfig,
target: &Target,
is_nightly_build: bool,
is_crt_static: bool,
)Expand description
Adds cfg values based on the current target configuration (in particular for target features).
This is performed by checking whether a set of permitted features
is available on the target machine, by querying the TargetConfig from the codegen backend.