Skip to content

Commit 56ecdc1

Browse files
Mention COMPILETEST_REQUIRE_ALL_LLVM_COMPONENTS in needs-llvm-components documentation
We should mention the env var that [controls](https://github.com/rust-lang/rust/blob/76e7a0849c07d73e4d9afde8036ee8c450127cc8/src/tools/compiletest/src/header.rs#L1593) this check for better discoverability, like we already do for `needs-matching-clang` below.
1 parent 203ade3 commit 56ecdc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/headers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ The following header commands will check LLVM support:
170170
* `ignore-llvm-version: 9.0` — ignores a specific LLVM version
171171
* `ignore-llvm-version: 7.0 - 9.9.9` — ignores LLVM versions in a range (inclusive)
172172
* `needs-llvm-components: powerpc` — ignores if the specific LLVM component was not built.
173-
Note: The test will fail on CI if the component does not exist.
173+
Note: The test will fail on CI (when `COMPILETEST_REQUIRE_ALL_LLVM_COMPONENTS` is set) if the component does not exist.
174174
* `needs-matching-clang` — ignores if the version of clang does not match the
175175
LLVM version of rustc.
176176
These tests are always ignored unless a special environment variable,

0 commit comments

Comments
 (0)