@@ -133,7 +133,7 @@ impl Stability {
133133// Both of these are also applied transitively.
134134type ImpliedFeatures = & ' static [ & ' static str ] ;
135135
136- const ARM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
136+ static ARM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
137137 // tidy-alphabetical-start
138138 ( "aclass" , Unstable ( sym:: arm_target_feature) , & [ ] ) ,
139139 ( "aes" , Unstable ( sym:: arm_target_feature) , & [ "neon" ] ) ,
@@ -172,7 +172,7 @@ const ARM_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
172172 // tidy-alphabetical-end
173173] ;
174174
175- const AARCH64_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
175+ static AARCH64_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
176176 // tidy-alphabetical-start
177177 // FEAT_AES & FEAT_PMULL
178178 ( "aes" , Stable , & [ "neon" ] ) ,
@@ -368,7 +368,7 @@ const AARCH64_TIED_FEATURES: &[&[&str]] = &[
368368 & [ "paca" , "pacg" ] , // Together these represent `pauth` in LLVM
369369] ;
370370
371- const X86_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
371+ static X86_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
372372 // tidy-alphabetical-start
373373 ( "adx" , Stable , & [ ] ) ,
374374 ( "aes" , Stable , & [ "sse2" ] ) ,
@@ -446,7 +446,7 @@ const HEXAGON_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
446446 // tidy-alphabetical-end
447447] ;
448448
449- const POWERPC_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
449+ static POWERPC_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
450450 // tidy-alphabetical-start
451451 ( "altivec" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
452452 ( "partword-atomics" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
@@ -469,7 +469,7 @@ const MIPS_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
469469 // tidy-alphabetical-end
470470] ;
471471
472- const RISCV_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
472+ static RISCV_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
473473 // tidy-alphabetical-start
474474 ( "a" , Stable , & [ "zaamo" , "zalrsc" ] ) ,
475475 ( "c" , Stable , & [ ] ) ,
@@ -514,7 +514,7 @@ const RISCV_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
514514 // tidy-alphabetical-end
515515] ;
516516
517- const WASM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
517+ static WASM_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
518518 // tidy-alphabetical-start
519519 ( "atomics" , Unstable ( sym:: wasm_target_feature) , & [ ] ) ,
520520 ( "bulk-memory" , Stable , & [ ] ) ,
@@ -535,7 +535,7 @@ const WASM_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
535535const BPF_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] =
536536 & [ ( "alu32" , Unstable ( sym:: bpf_target_feature) , & [ ] ) ] ;
537537
538- const CSKY_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
538+ static CSKY_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
539539 // tidy-alphabetical-start
540540 ( "10e60" , Unstable ( sym:: csky_target_feature) , & [ "7e10" ] ) ,
541541 ( "2e3" , Unstable ( sym:: csky_target_feature) , & [ "e2" ] ) ,
@@ -582,7 +582,7 @@ const CSKY_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
582582 // tidy-alphabetical-end
583583] ;
584584
585- const LOONGARCH_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
585+ static LOONGARCH_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
586586 // tidy-alphabetical-start
587587 ( "d" , Unstable ( sym:: loongarch_target_feature) , & [ "f" ] ) ,
588588 ( "f" , Unstable ( sym:: loongarch_target_feature) , & [ ] ) ,
@@ -611,7 +611,7 @@ const SPARC_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
611611 // tidy-alphabetical-end
612612] ;
613613
614- const M68K_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
614+ static M68K_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
615615 // tidy-alphabetical-start
616616 ( "isa-68000" , Unstable ( sym:: m68k_target_feature) , & [ ] ) ,
617617 ( "isa-68010" , Unstable ( sym:: m68k_target_feature) , & [ "isa-68000" ] ) ,
0 commit comments