diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index bde59e9d679e7..cba6fc61c5a25 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -673,6 +673,7 @@ pub fn line_directive<'line>( /// This is generated by collecting directives from ui tests and then extracting their directive /// names. This is **not** an exhaustive list of all possible directives. Instead, this is a /// best-effort approximation for diagnostics. +// tidy-alphabetical-start const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "assembly-output", "aux-build", @@ -724,9 +725,11 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "ignore-lldb", "ignore-llvm-version", "ignore-loongarch64", + "ignore-macabi", "ignore-macos", "ignore-mode-coverage-map", "ignore-mode-coverage-run", + "ignore-mode-run-pass-valgrind", "ignore-msp430", "ignore-msvc", "ignore-musl", @@ -743,18 +746,24 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "ignore-spirv", "ignore-stable", "ignore-stage1", + "ignore-stage2", "ignore-test", "ignore-thumbv8m.base-none-eabi", "ignore-thumbv8m.main-none-eabi", + "ignore-unix", + "ingore-unknown", "ignore-uwp", "ignore-vxworks", "ignore-wasm", "ignore-wasm32", "ignore-wasm32-bare", + "ignore-wasm64", "ignore-windows", "ignore-windows-gnu", "ignore-x86", + "ignore-x86_64", "ignore-x86_64-apple-darwin", + "ignore-x86_64-unknown-linux-gnu", "incremental", "known-bug", "llvm-cov-flags", @@ -762,9 +771,11 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "min-gdb-version", "min-lldb-version", "min-llvm-version", + "min-system-llvm-version", "needs-asm-support", "needs-dlltool", "needs-dynamic-linking", + "needs-git-hash", "needs-llvm-components", "needs-profiler-support", "needs-relocation-model-pic", @@ -810,6 +821,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "only-riscv64", "only-sparc", "only-sparc64", + "only-stable", "only-thumb", "only-wasm32", "only-wasm32-bare", @@ -817,6 +829,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "only-x86", "only-x86_64", "only-x86_64-fortanix-unknown-sgx", + "only-x86_64-pc-windows-gnu", "only-x86_64-pc-windows-msvc", "only-x86_64-unknown-linux-gnu", "pp-exact", @@ -839,6 +852,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "unset-exec-env", "unset-rustc-env", ]; +// tidy-alphabetical-end /// The broken-down contents of a line containing a test header directive, /// which [`iter_header`] passes to its callback function.