1
Fork 0

target_features: explain what exacty 'implied' means here

This commit is contained in:
Ralf Jung 2024-11-10 22:51:38 +01:00
parent f5b62577f7
commit 2c7f3badcf
2 changed files with 16 additions and 3 deletions

View file

@ -92,6 +92,11 @@ impl Stability {
//
// Stabilizing a target feature requires t-lang approval.
// If feature A "implies" feature B, then:
// - when A gets enabled (via `-Ctarget-feature` or `#[target_feature]`), we also enable B
// - when B gets disabled (via `-Ctarget-feature`), we also disable A
//
// Both of these are also applied transitively.
type ImpliedFeatures = &'static [&'static str];
const ARM_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[