about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs
diff options
context:
space:
mode:
authorWill Glynn <will@willglynn.com>2025-04-04 17:46:35 -0500
committerWill Glynn <will@willglynn.com>2025-04-15 21:26:14 -0500
commit8c50f95cf088c6ccf882a152bd46c090efa3a1c7 (patch)
tree3dc412bd7462c4817cdc89675ccf4ffb30406422 /compiler/rustc_builtin_macros/src/deriving/generic/mod.rs
parent51548ce71fe80b5ca7aef00e6f1bf2491df98c79 (diff)
downloadrust-8c50f95cf088c6ccf882a152bd46c090efa3a1c7.tar.gz
rust-8c50f95cf088c6ccf882a152bd46c090efa3a1c7.zip
rustdoc: Output target feature information
`#[target_feature]` attributes refer to a target-specific list of
features. Enabling certain features can imply enabling other features.
Certain features are always enabled on certain targets, since they are
required by the target's ABI. Features can also be enabled indirectly
based on other compiler flags.

Feature information is ultimately known to `rustc`. Rather than force
external tools to track it -- which may be wildly impractical due to
`-C target-cpu` -- have `rustdoc` output `rustc`'s feature data.
Diffstat (limited to 'compiler/rustc_builtin_macros/src/deriving/generic/mod.rs')
0 files changed, 0 insertions, 0 deletions