1const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
5 "add-core-stubs",
7 "assembly-output",
8 "aux-bin",
9 "aux-build",
10 "aux-codegen-backend",
11 "aux-crate",
12 "build-aux-docs",
13 "build-fail",
14 "build-pass",
15 "check-fail",
16 "check-pass",
17 "check-run-results",
18 "check-stdout",
19 "check-test-line-numbers-match",
20 "compile-flags",
21 "doc-flags",
22 "dont-check-compiler-stderr",
23 "dont-check-compiler-stdout",
24 "dont-check-failure-status",
25 "dont-require-annotations",
26 "edition",
27 "error-pattern",
28 "exact-llvm-major-version",
29 "exec-env",
30 "failure-status",
31 "filecheck-flags",
32 "forbid-output",
33 "force-host",
34 "ignore-16bit",
35 "ignore-32bit",
36 "ignore-64bit",
37 "ignore-aarch64",
38 "ignore-aarch64-pc-windows-msvc",
39 "ignore-aarch64-unknown-linux-gnu",
40 "ignore-aix",
41 "ignore-android",
42 "ignore-apple",
43 "ignore-arm",
44 "ignore-arm-unknown-linux-gnueabi",
45 "ignore-arm-unknown-linux-gnueabihf",
46 "ignore-arm-unknown-linux-musleabi",
47 "ignore-arm-unknown-linux-musleabihf",
48 "ignore-auxiliary",
49 "ignore-avr",
50 "ignore-beta",
51 "ignore-cdb",
52 "ignore-compare-mode-next-solver",
53 "ignore-compare-mode-polonius",
54 "ignore-coverage-map",
55 "ignore-coverage-run",
56 "ignore-cross-compile",
57 "ignore-eabi",
58 "ignore-elf",
59 "ignore-emscripten",
60 "ignore-endian-big",
61 "ignore-enzyme",
62 "ignore-freebsd",
63 "ignore-fuchsia",
64 "ignore-gdb",
65 "ignore-gdb-version",
66 "ignore-gnu",
67 "ignore-haiku",
68 "ignore-horizon",
69 "ignore-i686-pc-windows-gnu",
70 "ignore-i686-pc-windows-msvc",
71 "ignore-illumos",
72 "ignore-ios",
73 "ignore-linux",
74 "ignore-lldb",
75 "ignore-llvm-version",
76 "ignore-loongarch32",
77 "ignore-loongarch64",
78 "ignore-macabi",
79 "ignore-macos",
80 "ignore-msp430",
81 "ignore-msvc",
82 "ignore-musl",
83 "ignore-netbsd",
84 "ignore-nightly",
85 "ignore-none",
86 "ignore-nto",
87 "ignore-nvptx64",
88 "ignore-nvptx64-nvidia-cuda",
89 "ignore-openbsd",
90 "ignore-pass",
91 "ignore-powerpc",
92 "ignore-remote",
93 "ignore-riscv64",
94 "ignore-rustc-debug-assertions",
95 "ignore-rustc_abi-x86-sse2",
96 "ignore-s390x",
97 "ignore-sgx",
98 "ignore-sparc64",
99 "ignore-spirv",
100 "ignore-stable",
101 "ignore-stage1",
102 "ignore-stage2",
103 "ignore-std-debug-assertions",
104 "ignore-test",
105 "ignore-thumb",
106 "ignore-thumbv8m.base-none-eabi",
107 "ignore-thumbv8m.main-none-eabi",
108 "ignore-tvos",
109 "ignore-unix",
110 "ignore-unknown",
111 "ignore-uwp",
112 "ignore-visionos",
113 "ignore-vxworks",
114 "ignore-wasi",
115 "ignore-wasm",
116 "ignore-wasm32",
117 "ignore-wasm32-bare",
118 "ignore-wasm64",
119 "ignore-watchos",
120 "ignore-windows",
121 "ignore-windows-gnu",
122 "ignore-windows-msvc",
123 "ignore-x32",
124 "ignore-x86",
125 "ignore-x86_64",
126 "ignore-x86_64-apple-darwin",
127 "ignore-x86_64-pc-windows-gnu",
128 "ignore-x86_64-unknown-linux-gnu",
129 "incremental",
130 "known-bug",
131 "llvm-cov-flags",
132 "max-llvm-major-version",
133 "min-cdb-version",
134 "min-gdb-version",
135 "min-lldb-version",
136 "min-llvm-version",
137 "min-system-llvm-version",
138 "needs-asm-support",
139 "needs-crate-type",
140 "needs-deterministic-layouts",
141 "needs-dlltool",
142 "needs-dynamic-linking",
143 "needs-enzyme",
144 "needs-force-clang-based-tests",
145 "needs-git-hash",
146 "needs-llvm-components",
147 "needs-llvm-zstd",
148 "needs-profiler-runtime",
149 "needs-relocation-model-pic",
150 "needs-run-enabled",
151 "needs-rust-lld",
152 "needs-rustc-debug-assertions",
153 "needs-sanitizer-address",
154 "needs-sanitizer-cfi",
155 "needs-sanitizer-dataflow",
156 "needs-sanitizer-hwaddress",
157 "needs-sanitizer-kcfi",
158 "needs-sanitizer-leak",
159 "needs-sanitizer-memory",
160 "needs-sanitizer-memtag",
161 "needs-sanitizer-safestack",
162 "needs-sanitizer-shadow-call-stack",
163 "needs-sanitizer-support",
164 "needs-sanitizer-thread",
165 "needs-std-debug-assertions",
166 "needs-subprocess",
167 "needs-symlink",
168 "needs-target-has-atomic",
169 "needs-target-std",
170 "needs-threads",
171 "needs-unwind",
172 "needs-wasmtime",
173 "needs-xray",
174 "no-auto-check-cfg",
175 "no-prefer-dynamic",
176 "normalize-stderr",
177 "normalize-stderr-32bit",
178 "normalize-stderr-64bit",
179 "normalize-stdout",
180 "only-16bit",
181 "only-32bit",
182 "only-64bit",
183 "only-aarch64",
184 "only-aarch64-apple-darwin",
185 "only-aarch64-unknown-linux-gnu",
186 "only-apple",
187 "only-arm",
188 "only-avr",
189 "only-beta",
190 "only-bpf",
191 "only-cdb",
192 "only-dist",
193 "only-elf",
194 "only-emscripten",
195 "only-gnu",
196 "only-i686-pc-windows-gnu",
197 "only-i686-pc-windows-msvc",
198 "only-i686-unknown-linux-gnu",
199 "only-ios",
200 "only-linux",
201 "only-loongarch32",
202 "only-loongarch64",
203 "only-loongarch64-unknown-linux-gnu",
204 "only-macos",
205 "only-mips",
206 "only-mips64",
207 "only-msp430",
208 "only-msvc",
209 "only-nightly",
210 "only-nvptx64",
211 "only-powerpc",
212 "only-riscv64",
213 "only-rustc_abi-x86-sse2",
214 "only-s390x",
215 "only-sparc",
216 "only-sparc64",
217 "only-stable",
218 "only-thumb",
219 "only-tvos",
220 "only-unix",
221 "only-visionos",
222 "only-wasm32",
223 "only-wasm32-bare",
224 "only-wasm32-wasip1",
225 "only-watchos",
226 "only-windows",
227 "only-windows-gnu",
228 "only-windows-msvc",
229 "only-x86",
230 "only-x86_64",
231 "only-x86_64-apple-darwin",
232 "only-x86_64-fortanix-unknown-sgx",
233 "only-x86_64-pc-windows-gnu",
234 "only-x86_64-pc-windows-msvc",
235 "only-x86_64-unknown-linux-gnu",
236 "pp-exact",
237 "pretty-compare-only",
238 "pretty-mode",
239 "proc-macro",
240 "reference",
241 "regex-error-pattern",
242 "remap-src-base",
243 "revisions",
244 "run-fail",
245 "run-flags",
246 "run-pass",
247 "run-rustfix",
248 "rustc-env",
249 "rustfix-only-machine-applicable",
250 "should-fail",
251 "should-ice",
252 "stderr-per-bitwidth",
253 "test-mir-pass",
254 "unique-doc-out-dir",
255 "unset-exec-env",
256 "unset-rustc-env",
257 "unused-revision-names",
259 ];