@@ -131,7 +131,7 @@ impl Stability {
131
131
// Both of these are also applied transitively.
132
132
type ImpliedFeatures = & ' static [ & ' static str ] ;
133
133
134
- const ARM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
134
+ static ARM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
135
135
// tidy-alphabetical-start
136
136
( "aclass" , Unstable ( sym:: arm_target_feature) , & [ ] ) ,
137
137
( "aes" , Unstable ( sym:: arm_target_feature) , & [ "neon" ] ) ,
@@ -175,7 +175,7 @@ const ARM_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
175
175
// tidy-alphabetical-end
176
176
] ;
177
177
178
- const AARCH64_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
178
+ static AARCH64_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
179
179
// tidy-alphabetical-start
180
180
// FEAT_AES & FEAT_PMULL
181
181
( "aes" , Stable , & [ "neon" ] ) ,
@@ -371,7 +371,7 @@ const AARCH64_TIED_FEATURES: &[&[&str]] = &[
371
371
& [ "paca" , "pacg" ] , // Together these represent `pauth` in LLVM
372
372
] ;
373
373
374
- const X86_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
374
+ static X86_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
375
375
// tidy-alphabetical-start
376
376
( "adx" , Stable , & [ ] ) ,
377
377
( "aes" , Stable , & [ "sse2" ] ) ,
@@ -453,7 +453,7 @@ const HEXAGON_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
453
453
// tidy-alphabetical-end
454
454
] ;
455
455
456
- const POWERPC_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
456
+ static POWERPC_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
457
457
// tidy-alphabetical-start
458
458
( "altivec" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
459
459
( "partword-atomics" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
@@ -476,7 +476,7 @@ const MIPS_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
476
476
// tidy-alphabetical-end
477
477
] ;
478
478
479
- const RISCV_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
479
+ static RISCV_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
480
480
// tidy-alphabetical-start
481
481
( "a" , Stable , & [ "zaamo" , "zalrsc" ] ) ,
482
482
( "c" , Stable , & [ ] ) ,
@@ -521,7 +521,7 @@ const RISCV_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
521
521
// tidy-alphabetical-end
522
522
] ;
523
523
524
- const WASM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
524
+ static WASM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
525
525
// tidy-alphabetical-start
526
526
( "atomics" , Unstable ( sym:: wasm_target_feature) , & [ ] ) ,
527
527
( "bulk-memory" , Stable , & [ ] ) ,
@@ -542,7 +542,7 @@ const WASM_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
542
542
const BPF_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] =
543
543
& [ ( "alu32" , Unstable ( sym:: bpf_target_feature) , & [ ] ) ] ;
544
544
545
- const CSKY_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
545
+ static CSKY_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
546
546
// tidy-alphabetical-start
547
547
( "10e60" , Unstable ( sym:: csky_target_feature) , & [ "7e10" ] ) ,
548
548
( "2e3" , Unstable ( sym:: csky_target_feature) , & [ "e2" ] ) ,
@@ -589,7 +589,7 @@ const CSKY_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
589
589
// tidy-alphabetical-end
590
590
] ;
591
591
592
- const LOONGARCH_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
592
+ static LOONGARCH_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
593
593
// tidy-alphabetical-start
594
594
( "d" , Unstable ( sym:: loongarch_target_feature) , & [ "f" ] ) ,
595
595
( "f" , Unstable ( sym:: loongarch_target_feature) , & [ ] ) ,
@@ -618,7 +618,7 @@ const SPARC_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
618
618
// tidy-alphabetical-end
619
619
] ;
620
620
621
- const M68K_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
621
+ static M68K_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
622
622
// tidy-alphabetical-start
623
623
( "isa-68000" , Unstable ( sym:: m68k_target_feature) , & [ ] ) ,
624
624
( "isa-68010" , Unstable ( sym:: m68k_target_feature) , & [ "isa-68000" ] ) ,
0 commit comments