@@ -681,6 +681,7 @@ pub fn line_directive<'line>(
681
681
/// This is generated by collecting directives from ui tests and then extracting their directive
682
682
/// names. This is **not** an exhaustive list of all possible directives. Instead, this is a
683
683
/// best-effort approximation for diagnostics.
684
+ // tidy-alphabetical-start
684
685
const KNOWN_DIRECTIVE_NAMES : & [ & str ] = & [
685
686
"assembly-output" ,
686
687
"aux-build" ,
@@ -694,6 +695,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
694
695
"check-stdout" ,
695
696
"check-test-line-numbers-match" ,
696
697
"compile-flags" ,
698
+ "count" ,
697
699
"dont-check-compiler-stderr" ,
698
700
"dont-check-compiler-stdout" ,
699
701
"dont-check-failure-status" ,
@@ -717,6 +719,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
717
719
"ignore-compare-mode-polonius" ,
718
720
"ignore-cross-compile" ,
719
721
"ignore-debug" ,
722
+ "ignore-eabi" ,
720
723
"ignore-emscripten" ,
721
724
"ignore-endian-big" ,
722
725
"ignore-freebsd" ,
@@ -732,14 +735,30 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
732
735
"ignore-lldb" ,
733
736
"ignore-llvm-version" ,
734
737
"ignore-loongarch64" ,
738
+ "ignore-macabi" ,
735
739
"ignore-macos" ,
740
+ "ignore-mode-assembly" ,
741
+ "ignore-mode-codegen" ,
742
+ "ignore-mode-codegen-units" ,
736
743
"ignore-mode-coverage-map" ,
737
744
"ignore-mode-coverage-run" ,
745
+ "ignore-mode-debuginfo" ,
746
+ "ignore-mode-incremental" ,
747
+ "ignore-mode-js-doc-test" ,
748
+ "ignore-mode-mir-opt" ,
749
+ "ignore-mode-run-make" ,
750
+ "ignore-mode-run-pass-valgrind" ,
751
+ "ignore-mode-rustdoc" ,
752
+ "ignore-mode-rustdoc-json" ,
753
+ "ignore-mode-pretty" ,
754
+ "ignore-mode-ui" ,
755
+ "ignore-mode-ui-fulldeps" ,
738
756
"ignore-msp430" ,
739
757
"ignore-msvc" ,
740
758
"ignore-musl" ,
741
759
"ignore-netbsd" ,
742
760
"ignore-nightly" ,
761
+ "ignore-none" ,
743
762
"ignore-nto" ,
744
763
"ignore-nvptx64" ,
745
764
"ignore-openbsd" ,
@@ -751,28 +770,39 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
751
770
"ignore-spirv" ,
752
771
"ignore-stable" ,
753
772
"ignore-stage1" ,
773
+ "ignore-stage2" ,
754
774
"ignore-test" ,
775
+ "ignore-thumb" ,
755
776
"ignore-thumbv8m.base-none-eabi" ,
756
777
"ignore-thumbv8m.main-none-eabi" ,
778
+ "ignore-unix" ,
779
+ "ignore-unknown" ,
757
780
"ignore-uwp" ,
758
781
"ignore-vxworks" ,
782
+ "ignore-wasi" ,
759
783
"ignore-wasm" ,
760
784
"ignore-wasm32" ,
761
785
"ignore-wasm32-bare" ,
786
+ "ignore-wasm64" ,
762
787
"ignore-windows" ,
763
788
"ignore-windows-gnu" ,
789
+ "ignore-x32" ,
764
790
"ignore-x86" ,
791
+ "ignore-x86_64" ,
765
792
"ignore-x86_64-apple-darwin" ,
793
+ "ignore-x86_64-unknown-linux-gnu" ,
766
794
"incremental" ,
767
795
"known-bug" ,
768
796
"llvm-cov-flags" ,
769
797
"min-cdb-version" ,
770
798
"min-gdb-version" ,
771
799
"min-lldb-version" ,
772
800
"min-llvm-version" ,
801
+ "min-system-llvm-version" ,
773
802
"needs-asm-support" ,
774
803
"needs-dlltool" ,
775
804
"needs-dynamic-linking" ,
805
+ "needs-git-hash" ,
776
806
"needs-llvm-components" ,
777
807
"needs-profiler-support" ,
778
808
"needs-relocation-model-pic" ,
@@ -802,6 +832,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
802
832
"only-aarch64" ,
803
833
"only-arm" ,
804
834
"only-avr" ,
835
+ "only-beta" ,
805
836
"only-bpf" ,
806
837
"only-cdb" ,
807
838
"only-gnu" ,
@@ -819,13 +850,15 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
819
850
"only-riscv64" ,
820
851
"only-sparc" ,
821
852
"only-sparc64" ,
853
+ "only-stable" ,
822
854
"only-thumb" ,
823
855
"only-wasm32" ,
824
856
"only-wasm32-bare" ,
825
857
"only-windows" ,
826
858
"only-x86" ,
827
859
"only-x86_64" ,
828
860
"only-x86_64-fortanix-unknown-sgx" ,
861
+ "only-x86_64-pc-windows-gnu" ,
829
862
"only-x86_64-pc-windows-msvc" ,
830
863
"only-x86_64-unknown-linux-gnu" ,
831
864
"pp-exact" ,
@@ -848,6 +881,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
848
881
"unset-exec-env" ,
849
882
"unset-rustc-env" ,
850
883
] ;
884
+ // tidy-alphabetical-end
851
885
852
886
/// The broken-down contents of a line containing a test header directive,
853
887
/// which [`iter_header`] passes to its callback function.
0 commit comments