diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-11-08 15:06:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-08 15:06:55 +0800 |
| commit | c5ef723880bdcf7af05156e0353bebdaee729432 (patch) | |
| tree | 8891c1bb1a859df62b430f0bacf496f186d87a51 /src/doc | |
| parent | d441ae5c13535ce73f565921b111744027c34b8e (diff) | |
| download | rust-c5ef723880bdcf7af05156e0353bebdaee729432.tar.gz rust-c5ef723880bdcf7af05156e0353bebdaee729432.zip | |
Rename `{ignore,only}-debug` -> `{ignore,needs}-{rustc,std}-debug-assertions` (#2101)
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/directives.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/directives.md b/src/doc/rustc-dev-guide/src/tests/directives.md index 72ec72f1b15..44544055dcf 100644 --- a/src/doc/rustc-dev-guide/src/tests/directives.md +++ b/src/doc/rustc-dev-guide/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: |
