Skip to content

Commit 2ddc9ca

Browse files
authored
Document max-llvm-major-version directive (rust-lang#2129)
1 parent 6388229 commit 2ddc9ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/doc/rustc-dev-guide/src/tests/directives.md

+2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ The following directives will check LLVM support:
189189
value
190190
- `min-system-llvm-version: 12.0` — ignored if using a system LLVM and its
191191
version is less than the given value
192+
- `max-llvm-major-version: 19` — ignored if the LLVM major version is higher
193+
than the given major version
192194
- `ignore-llvm-version: 9.0` — ignores a specific LLVM version
193195
- `ignore-llvm-version: 7.0 - 9.9.9` — ignores LLVM versions in a range
194196
(inclusive)

0 commit comments

Comments
 (0)