@@ -131,7 +131,7 @@ impl Stability {
131131// Both of these are also applied transitively.
132132type ImpliedFeatures = & ' static [ & ' static str ] ;
133133
134- const ARM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
134+ static ARM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
135135 // tidy-alphabetical-start
136136 ( "aclass" , Unstable ( sym:: arm_target_feature) , & [ ] ) ,
137137 ( "aes" , Unstable ( sym:: arm_target_feature) , & [ "neon" ] ) ,
@@ -175,7 +175,7 @@ const ARM_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
175175 // tidy-alphabetical-end
176176] ;
177177
178- const AARCH64_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
178+ static AARCH64_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
179179 // tidy-alphabetical-start
180180 // FEAT_AES & FEAT_PMULL
181181 ( "aes" , Stable , & [ "neon" ] ) ,
@@ -371,7 +371,7 @@ const AARCH64_TIED_FEATURES: &[&[&str]] = &[
371371 & [ "paca" , "pacg" ] , // Together these represent `pauth` in LLVM
372372] ;
373373
374- const X86_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
374+ static X86_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
375375 // tidy-alphabetical-start
376376 ( "adx" , Stable , & [ ] ) ,
377377 ( "aes" , Stable , & [ "sse2" ] ) ,
@@ -453,7 +453,7 @@ const HEXAGON_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
453453 // tidy-alphabetical-end
454454] ;
455455
456- const POWERPC_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
456+ static POWERPC_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
457457 // tidy-alphabetical-start
458458 ( "altivec" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
459459 ( "partword-atomics" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
@@ -476,7 +476,7 @@ const MIPS_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
476476 // tidy-alphabetical-end
477477] ;
478478
479- const RISCV_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
479+ static RISCV_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
480480 // tidy-alphabetical-start
481481 ( "a" , Stable , & [ "zaamo" , "zalrsc" ] ) ,
482482 ( "c" , Stable , & [ ] ) ,
@@ -521,7 +521,7 @@ const RISCV_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
521521 // tidy-alphabetical-end
522522] ;
523523
524- const WASM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
524+ static WASM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
525525 // tidy-alphabetical-start
526526 ( "atomics" , Unstable ( sym:: wasm_target_feature) , & [ ] ) ,
527527 ( "bulk-memory" , Stable , & [ ] ) ,
@@ -542,7 +542,7 @@ const WASM_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
542542const BPF_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] =
543543 & [ ( "alu32" , Unstable ( sym:: bpf_target_feature) , & [ ] ) ] ;
544544
545- const CSKY_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
545+ static CSKY_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
546546 // tidy-alphabetical-start
547547 ( "10e60" , Unstable ( sym:: csky_target_feature) , & [ "7e10" ] ) ,
548548 ( "2e3" , Unstable ( sym:: csky_target_feature) , & [ "e2" ] ) ,
@@ -589,7 +589,7 @@ const CSKY_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
589589 // tidy-alphabetical-end
590590] ;
591591
592- const LOONGARCH_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
592+ static LOONGARCH_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
593593 // tidy-alphabetical-start
594594 ( "d" , Unstable ( sym:: loongarch_target_feature) , & [ "f" ] ) ,
595595 ( "f" , Unstable ( sym:: loongarch_target_feature) , & [ ] ) ,
@@ -618,7 +618,7 @@ const SPARC_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
618618 // tidy-alphabetical-end
619619] ;
620620
621- const M68K_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
621+ static M68K_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
622622 // tidy-alphabetical-start
623623 ( "isa-68000" , Unstable ( sym:: m68k_target_feature) , & [ ] ) ,
624624 ( "isa-68010" , Unstable ( sym:: m68k_target_feature) , & [ "isa-68000" ] ) ,
0 commit comments