From e4df4b8bc90ca90840fa088756bca2e6b00350ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= <39484203+jieyouxu@users.noreply.github.com> Date: Sun, 20 Oct 2024 23:41:29 +0800 Subject: [PATCH] Rename `{ignore,only}-debug` -> `{ignore,needs}-{rustc,std}-debug-assertions` --- src/tests/directives.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/tests/directives.md b/src/tests/directives.md index 66ba0d14b..e65b61a0f 100644 --- a/src/tests/directives.md +++ b/src/tests/directives.md @@ -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`, @@ -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: