rustc_target::target_features

Function all_rust_features

Source
pub fn all_rust_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!