From 36ac107e3d7fa647f826ac46b0857252385a603d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 29 Oct 2025 14:02:02 +0100 Subject: [PATCH] Add rustc-dev-guide documentation for new `--bypass-ignore-backends` command line flag --- src/doc/rustc-dev-guide/src/tests/directives.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doc/rustc-dev-guide/src/tests/directives.md b/src/doc/rustc-dev-guide/src/tests/directives.md index 12ceef0c928d..045c8c71f9cd 100644 --- a/src/doc/rustc-dev-guide/src/tests/directives.md +++ b/src/doc/rustc-dev-guide/src/tests/directives.md @@ -207,7 +207,9 @@ settings: on `wasm32-unknown-unknown` target because the target does not support the `proc-macro` crate type. - `needs-target-std` — ignores if target platform does not have std support. -- `ignore-backends` — ignores the listed backends, separated by whitespace characters. +- `ignore-backends` — ignores the listed backends, separated by whitespace characters. Please note + that this directive can be overriden with the `--bypass-ignore-backends=[BACKEND]` command line + flag. - `needs-backends` — only runs the test if current codegen backend is listed. The following directives will check LLVM support: