From 02dbf08320a53cd5d65a3d3c596d0666911b4e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Fri, 9 Oct 2026 17:03:02 +0200 Subject: [PATCH] Allow testing cg-gcc on any target --- src/bootstrap/src/core/build_steps/test.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index ceaa28fc4bdb8..c532b670dbef1 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -4587,14 +4587,6 @@ impl CommandLineStep for CodegenGCC { return; } - let triple = run.target.triple; - let target_supported = - if triple.contains("linux") { triple.contains("x86_64") } else { false }; - if !target_supported { - builder.info("target not supported by rustc_codegen_gcc. skipping"); - return; - } - if builder.remote_tested(run.target) { builder.info("remote testing is not supported by rustc_codegen_gcc. skipping"); return; @@ -4976,7 +4968,7 @@ impl CommandLineStep for StdSemverCheck { res.stdout() ); if builder.fail_fast { - eprintln!("{error}",); + eprintln!("{error}"); helpers::exit_process(1); } else { builder.config.exec_ctx().add_to_delay_failure(error);