tests: skip rust-analyzer on most targets
authorFabian Grünbichler <debian@fabian.gruenbichler.email>
Mon, 13 Apr 2026 12:22:57 +0000 (14:22 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 28 May 2026 18:58:07 +0000 (20:58 +0200)
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 <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name tests-skip-rust-analyzer-on-most-targets.patch

src/bootstrap/src/core/build_steps/test.rs

index 33cc4d5c0dc7c4dc07ce9062232bda02dd6a3e0d..72359b6bdd6b169880a6d49d87cff2a51fdd798f 100644 (file)
@@ -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;
         }