From: Fabian Grünbichler Date: Mon, 13 Apr 2026 12:22:57 +0000 (+0200) Subject: tests: skip rust-analyzer on most targets X-Git-Tag: archive/raspbian/1.94.1+dfsg1-1+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc9954b30ae0c5432e6cfc69a155e13b8ec703ad;p=rustc.git tests: skip rust-analyzer on most targets upstream only tests (a subset of) 64-bit, but bootstrap has no filtering for target width for now.. these two platforms probably cover where rust-analyzer is used in practice. Forwaded: not-needed Signed-off-by: Fabian Grünbichler Gbp-Pq: Topic build Gbp-Pq: Name tests-skip-rust-analyzer-on-most-targets.patch --- diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index f52ab9a81f..db775e7bbf 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -477,7 +477,8 @@ impl Step for RustAnalyzer { // FIXME: eventually, we should probably reduce the amount of target tuple substring // matching in bootstrap. - if target.starts_with("i686") { + // Debian: invert and only test these two, instead of skipping only 32-bit x86 + if (!target.starts_with("x86_64") && !target.starts_with("aarch64")) || target.contains("hurd") { return; }