target_spec_to_backend_features

Function target_spec_to_backend_features 

Source
pub fn target_spec_to_backend_features<'a>(
    sess: &'a Session,
    extend_backend_features: impl FnMut(&'a str, bool),
)
Expand description

Translates the target spec features field into a backend target feature list.

extend_backend_features extends the set of backend features (assumed to be in mutable state accessible by that closure) to enable/disable the given Rust feature name.