target_features: explain what exacty 'implied' means here
This commit is contained in:
parent
f5b62577f7
commit
2c7f3badcf
2 changed files with 16 additions and 3 deletions
|
@ -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)] = &[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue