rustc_target

Module target_features

Source
Expand description

Declares Rust’s target feature names for each target. Note that these are similar to but not always identical to LLVM’s feature names, and Rust adds some features that do not correspond to LLVM features at all.

Structs§

  • The computed result of whether a feature can be enabled/disabled on the current target.

Enums§

  • Stability information for target features. Toggleability is the type storing whether (un)stable features can be toggled: this is initially a function since it can depend on Target, but for stable hashing it needs to be something hashable to we have to make the type generic.

Constants§

Functions§

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

Type Aliases§