From fc9954b30ae0c5432e6cfc69a155e13b8ec703ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 13 Apr 2026 14:22:57 +0200 Subject: [PATCH] tests: skip rust-analyzer on most targets MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/bootstrap/src/core/build_steps/test.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.30.2