Skip to content

Commit 7ecce91

Browse files
committed
Add missing known directives
1 parent 967dac6 commit 7ecce91

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/tools/compiletest/src/header.rs

+14
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,7 @@ pub fn line_directive<'line>(
673673
/// This is generated by collecting directives from ui tests and then extracting their directive
674674
/// names. This is **not** an exhaustive list of all possible directives. Instead, this is a
675675
/// best-effort approximation for diagnostics.
676+
// tidy-alphabetical-start
676677
const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
677678
"assembly-output",
678679
"aux-build",
@@ -724,9 +725,11 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
724725
"ignore-lldb",
725726
"ignore-llvm-version",
726727
"ignore-loongarch64",
728+
"ignore-macabi",
727729
"ignore-macos",
728730
"ignore-mode-coverage-map",
729731
"ignore-mode-coverage-run",
732+
"ignore-mode-run-pass-valgrind",
730733
"ignore-msp430",
731734
"ignore-msvc",
732735
"ignore-musl",
@@ -743,28 +746,36 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
743746
"ignore-spirv",
744747
"ignore-stable",
745748
"ignore-stage1",
749+
"ignore-stage2",
746750
"ignore-test",
747751
"ignore-thumbv8m.base-none-eabi",
748752
"ignore-thumbv8m.main-none-eabi",
753+
"ignore-unix",
754+
"ingore-unknown",
749755
"ignore-uwp",
750756
"ignore-vxworks",
751757
"ignore-wasm",
752758
"ignore-wasm32",
753759
"ignore-wasm32-bare",
760+
"ignore-wasm64",
754761
"ignore-windows",
755762
"ignore-windows-gnu",
756763
"ignore-x86",
764+
"ignore-x86_64",
757765
"ignore-x86_64-apple-darwin",
766+
"ignore-x86_64-unknown-linux-gnu",
758767
"incremental",
759768
"known-bug",
760769
"llvm-cov-flags",
761770
"min-cdb-version",
762771
"min-gdb-version",
763772
"min-lldb-version",
764773
"min-llvm-version",
774+
"min-system-llvm-version",
765775
"needs-asm-support",
766776
"needs-dlltool",
767777
"needs-dynamic-linking",
778+
"needs-git-hash",
768779
"needs-llvm-components",
769780
"needs-profiler-support",
770781
"needs-relocation-model-pic",
@@ -810,13 +821,15 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
810821
"only-riscv64",
811822
"only-sparc",
812823
"only-sparc64",
824+
"only-stable",
813825
"only-thumb",
814826
"only-wasm32",
815827
"only-wasm32-bare",
816828
"only-windows",
817829
"only-x86",
818830
"only-x86_64",
819831
"only-x86_64-fortanix-unknown-sgx",
832+
"only-x86_64-pc-windows-gnu",
820833
"only-x86_64-pc-windows-msvc",
821834
"only-x86_64-unknown-linux-gnu",
822835
"pp-exact",
@@ -839,6 +852,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
839852
"unset-exec-env",
840853
"unset-rustc-env",
841854
];
855+
// tidy-alphabetical-end
842856

843857
/// The broken-down contents of a line containing a test header directive,
844858
/// which [`iter_header`] passes to its callback function.

0 commit comments

Comments
 (0)