Skip to content

Commit

Permalink
Rename {ignore,only}-debug -> `{ignore,needs}-{rustc,std}-debug-ass…
Browse files Browse the repository at this point in the history
…ertions` (#2101)
  • Loading branch information
jieyouxu authored Nov 8, 2024
1 parent 59816a0 commit 16051cf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/tests/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ Some examples of `X` in `ignore-X` or `only-X`:
- Channel: `stable`, `beta`
- When cross compiling: `cross-compile`
- When [remote testing] is used: `remote`
- When debug-assertions are enabled: `debug`
- When particular debuggers are being tested: `cdb`, `gdb`, `lldb`
- When particular debugger versions are matched: `ignore-gdb-version`
- Specific [compare modes]: `compare-mode-polonius`, `compare-mode-chalk`,
Expand Down Expand Up @@ -172,6 +171,14 @@ settings:
- `needs-symlink` — ignores if the target does not support symlinks. This can be
the case on Windows if the developer did not enable privileged symlink
permissions.
- `ignore-std-debug-assertions` — ignores if std was built with debug
assertions.
- `needs-std-debug-assertions` — ignores if std was not built with debug
assertions.
- `ignore-rustc-debug-assertions` — ignores if rustc was built with debug
assertions.
- `needs-rustc-debug-assertions` — ignores if rustc was not built with debug
assertions.

The following directives will check LLVM support:

Expand Down

0 comments on commit 16051cf

Please sign in to comment.