Skip to content

Commit 61c1e83

Browse files
authored
compiletest: specify which special env var and which particular CI job (rust-lang#1960)
* compiletest: specify which special env var and which particular CI job * compiletest: fix grammar and add link to Dockerfile
1 parent b77a34b commit 61c1e83

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/tests/headers.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,16 @@ The following header commands will check LLVM support:
168168
Note: The test will fail on CI if the component does not exist.
169169
* `needs-matching-clang` — ignores if the version of clang does not match the
170170
LLVM version of rustc.
171-
These tests are always ignored unless a special environment variable is set
172-
(which is only done in one CI job).
171+
These tests are always ignored unless a special environment variable,
172+
`RUSTBUILD_FORCE_CLANG_BASED_TESTS`, is set
173+
(which is only done in one CI job [`x86_64-gnu-debug`]).
173174

174175
See also [Debuginfo tests](compiletest.md#debuginfo-tests) for headers for
175176
ignoring debuggers.
176177

177178
[remote testing]: running.md#running-tests-on-a-remote-machine
178179
[compare modes]: ui.md#compare-modes
180+
[`x86_64-gnu-debug`]: https://github.com/rust-lang/rust/blob/ab3dba92db355b8d97db915a2dca161a117e959c/src/ci/docker/host-x86_64/x86_64-gnu-debug/Dockerfile#L32
179181

180182
### Environment variable headers
181183

0 commit comments

Comments
 (0)