diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-20 20:33:46 +0000 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-22 16:04:03 +0000 |
| commit | 08405023517edbcb74f2cff1c0833c2f7144edd0 (patch) | |
| tree | 31117ee21da001538247ce99189b935b2e11c175 | |
| parent | 5fe4e226c99d20ed20c77f9eedca987fd7e942f2 (diff) | |
| download | rust-08405023517edbcb74f2cff1c0833c2f7144edd0.tar.gz rust-08405023517edbcb74f2cff1c0833c2f7144edd0.zip | |
Update list of known directive names for diagnostics
| -rw-r--r-- | src/tools/compiletest/src/header.rs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index 44e5d8dea7d..5ba726726cb 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -673,14 +673,17 @@ pub fn line_directive<'line>( /// names. This is **not** an exhaustive list of all possible directives. Instead, this is a /// best-effort approximation for diagnostics. const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[ + "assembly-output", "aux-build", "aux-crate", + "build-aux-docs", "build-fail", "build-pass", "check-fail", "check-pass", "check-run-results", "check-stdout", + "check-test-line-numbers-match", "compile-flags", "dont-check-compiler-stderr", "dont-check-compiler-stdout", @@ -691,12 +694,16 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[ "failure-status", "forbid-output", "force-host", + "ignore-16bit", "ignore-32bit", "ignore-64bit", "ignore-aarch64", "ignore-aarch64-unknown-linux-gnu", "ignore-android", "ignore-arm", + "ignore-avr", + "ignore-beta", + "ignore-cdb", "ignore-compare-mode-next-solver", "ignore-compare-mode-polonius", "ignore-cross-compile", @@ -705,13 +712,21 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[ "ignore-endian-big", "ignore-freebsd", "ignore-fuchsia", + "ignore-gdb", + "ignore-gdb-version", "ignore-gnu", "ignore-haiku", "ignore-horizon", "ignore-i686-pc-windows-msvc", "ignore-ios", + "ignore-linux", + "ignore-lldb", "ignore-llvm-version", + "ignore-loongarch64", "ignore-macos", + "ignore-mode-coverage-map", + "ignore-mode-coverage-run", + "ignore-msp430", "ignore-msvc", "ignore-musl", "ignore-netbsd", @@ -720,8 +735,13 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[ "ignore-nvptx64", "ignore-openbsd", "ignore-pass", + "ignore-remote", + "ignore-riscv64", + "ignore-s390x", "ignore-sgx", "ignore-spirv", + "ignore-stable", + "ignore-stage1", "ignore-test", "ignore-thumbv8m.base-none-eabi", "ignore-thumbv8m.main-none-eabi", @@ -731,9 +751,15 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[ "ignore-wasm32", "ignore-wasm32-bare", "ignore-windows", + "ignore-windows-gnu", "ignore-x86", + "ignore-x86_64-apple-darwin", "incremental", "known-bug", + "llvm-cov-flags", + "min-cdb-version", + "min-gdb-version", + "min-lldb-version", "min-llvm-version", "needs-asm-support", "needs-dlltool", @@ -742,11 +768,15 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[ "needs-profiler-support", "needs-relocation-model-pic", "needs-run-enabled", + "needs-rust-lldb", "needs-sanitizer-address", "needs-sanitizer-cfi", "needs-sanitizer-hwaddress", "needs-sanitizer-leak", "needs-sanitizer-memory", + "needs-sanitizer-memtag", + "needs-sanitizer-safestack", + "needs-sanitizer-shadow-call-stack", "needs-sanitizer-support", "needs-sanitizer-thread", "needs-unwind", @@ -756,23 +786,42 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[ "normalize-stderr-64bit", "normalize-stderr-test", "normalize-stdout-test", + "only-16bit", "only-32bit", "only-64bit", "only-aarch64", + "only-arm", + "only-avr", + "only-bpf", + "only-cdb", "only-gnu", "only-i686-pc-windows-msvc", "only-linux", + "only-loongarch64", + "only-loongarch64-unknown-linux-gnu", "only-macos", + "only-mips", + "only-mips64", + "only-msp430", "only-msvc", "only-nightly", + "only-nvptx64", + "only-riscv64", + "only-sparc", + "only-sparc64", + "only-thumb", "only-wasm32", + "only-wasm32-bare", "only-windows", "only-x86", "only-x86_64", + "only-x86_64-fortanix-unknown-sgx", "only-x86_64-pc-windows-msvc", "only-x86_64-unknown-linux-gnu", "pp-exact", + "pretty-compare-only", "pretty-expanded", + "pretty-mode", "regex-error-pattern", "remap-src-base", "revisions", @@ -783,7 +832,10 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[ "rustc-env", "rustfix-only-machine-applicable", "should-fail", + "should-ice", "stderr-per-bitwidth", + "unit-test", + "unset-exec-env", "unset-rustc-env", ]; |
