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, 16 Apr 2026 08:00:20 +0000 (10:00 +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 f52ab9a81fbb9c1fe19afcb6a24f30a2bb62d181..db775e7bbf19e0ccee86d005053a9d7860bd20c6 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;
         }