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