rustc_target::target_features

Function all_known_features

source
pub fn all_known_features() -> impl Iterator<Item = (&'static str, Stability)>
Expand description

When rustdoc is running, provide a list of all known features so that all their respective primitives may be documented.

IMPORTANT: If you’re adding another feature list above, make sure to add it to this iterator!