@@ -673,6 +673,7 @@ pub fn line_directive<'line>(
673
673
/// This is generated by collecting directives from ui tests and then extracting their directive
674
674
/// names. This is **not** an exhaustive list of all possible directives. Instead, this is a
675
675
/// best-effort approximation for diagnostics.
676
+ // tidy-alphabetical-start
676
677
const KNOWN_DIRECTIVE_NAMES : & [ & str ] = & [
677
678
"assembly-output" ,
678
679
"aux-build" ,
@@ -686,6 +687,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
686
687
"check-stdout" ,
687
688
"check-test-line-numbers-match" ,
688
689
"compile-flags" ,
690
+ "count" ,
689
691
"dont-check-compiler-stderr" ,
690
692
"dont-check-compiler-stdout" ,
691
693
"dont-check-failure-status" ,
@@ -709,6 +711,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
709
711
"ignore-compare-mode-polonius" ,
710
712
"ignore-cross-compile" ,
711
713
"ignore-debug" ,
714
+ "ignore-eabi" ,
712
715
"ignore-emscripten" ,
713
716
"ignore-endian-big" ,
714
717
"ignore-freebsd" ,
@@ -724,14 +727,30 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
724
727
"ignore-lldb" ,
725
728
"ignore-llvm-version" ,
726
729
"ignore-loongarch64" ,
730
+ "ignore-macabi" ,
727
731
"ignore-macos" ,
732
+ "ignore-mode-assembly" ,
733
+ "ignore-mode-codegen" ,
734
+ "ignore-mode-codegen-units" ,
728
735
"ignore-mode-coverage-map" ,
729
736
"ignore-mode-coverage-run" ,
737
+ "ignore-mode-debuginfo" ,
738
+ "ignore-mode-incremental" ,
739
+ "ignore-mode-js-doc-test" ,
740
+ "ignore-mode-mir-opt" ,
741
+ "ignore-mode-run-make" ,
742
+ "ignore-mode-run-pass-valgrind" ,
743
+ "ignore-mode-rustdoc" ,
744
+ "ignore-mode-rustdoc-json" ,
745
+ "ignore-mode-pretty" ,
746
+ "ignore-mode-ui" ,
747
+ "ignore-mode-ui-fulldeps" ,
730
748
"ignore-msp430" ,
731
749
"ignore-msvc" ,
732
750
"ignore-musl" ,
733
751
"ignore-netbsd" ,
734
752
"ignore-nightly" ,
753
+ "ignore-none" ,
735
754
"ignore-nto" ,
736
755
"ignore-nvptx64" ,
737
756
"ignore-openbsd" ,
@@ -743,28 +762,39 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
743
762
"ignore-spirv" ,
744
763
"ignore-stable" ,
745
764
"ignore-stage1" ,
765
+ "ignore-stage2" ,
746
766
"ignore-test" ,
767
+ "ignore-thumb" ,
747
768
"ignore-thumbv8m.base-none-eabi" ,
748
769
"ignore-thumbv8m.main-none-eabi" ,
770
+ "ignore-unix" ,
771
+ "ignore-unknown" ,
749
772
"ignore-uwp" ,
750
773
"ignore-vxworks" ,
774
+ "ignore-wasi" ,
751
775
"ignore-wasm" ,
752
776
"ignore-wasm32" ,
753
777
"ignore-wasm32-bare" ,
778
+ "ignore-wasm64" ,
754
779
"ignore-windows" ,
755
780
"ignore-windows-gnu" ,
781
+ "ignore-x32" ,
756
782
"ignore-x86" ,
783
+ "ignore-x86_64" ,
757
784
"ignore-x86_64-apple-darwin" ,
785
+ "ignore-x86_64-unknown-linux-gnu" ,
758
786
"incremental" ,
759
787
"known-bug" ,
760
788
"llvm-cov-flags" ,
761
789
"min-cdb-version" ,
762
790
"min-gdb-version" ,
763
791
"min-lldb-version" ,
764
792
"min-llvm-version" ,
793
+ "min-system-llvm-version" ,
765
794
"needs-asm-support" ,
766
795
"needs-dlltool" ,
767
796
"needs-dynamic-linking" ,
797
+ "needs-git-hash" ,
768
798
"needs-llvm-components" ,
769
799
"needs-profiler-support" ,
770
800
"needs-relocation-model-pic" ,
@@ -793,6 +823,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
793
823
"only-aarch64" ,
794
824
"only-arm" ,
795
825
"only-avr" ,
826
+ "only-beta" ,
796
827
"only-bpf" ,
797
828
"only-cdb" ,
798
829
"only-gnu" ,
@@ -810,13 +841,15 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
810
841
"only-riscv64" ,
811
842
"only-sparc" ,
812
843
"only-sparc64" ,
844
+ "only-stable" ,
813
845
"only-thumb" ,
814
846
"only-wasm32" ,
815
847
"only-wasm32-bare" ,
816
848
"only-windows" ,
817
849
"only-x86" ,
818
850
"only-x86_64" ,
819
851
"only-x86_64-fortanix-unknown-sgx" ,
852
+ "only-x86_64-pc-windows-gnu" ,
820
853
"only-x86_64-pc-windows-msvc" ,
821
854
"only-x86_64-unknown-linux-gnu" ,
822
855
"pp-exact" ,
@@ -839,6 +872,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
839
872
"unset-exec-env" ,
840
873
"unset-rustc-env" ,
841
874
] ;
875
+ // tidy-alphabetical-end
842
876
843
877
/// The broken-down contents of a line containing a test header directive,
844
878
/// which [`iter_header`] passes to its callback function.
0 commit comments