Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 77773fb

Browse files
Only run cg_gcc tests on linux x86_64
1 parent cd45740 commit 77773fb

File tree

1 file changed

+2
-10
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-10
lines changed

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3121,16 +3121,8 @@ impl Step for CodegenGCC {
31213121
}
31223122

31233123
let triple = run.target.triple;
3124-
let target_supported = if triple.contains("linux") {
3125-
triple.contains("x86_64")
3126-
|| triple.contains("aarch64")
3127-
|| triple.contains("s390x")
3128-
|| triple.contains("riscv64gc")
3129-
} else if triple.contains("darwin") || triple.contains("windows") {
3130-
triple.contains("x86_64")
3131-
} else {
3132-
false
3133-
};
3124+
let target_supported =
3125+
if triple.contains("linux") { triple.contains("x86_64") } else { false };
31343126
if !target_supported {
31353127
builder.info("target not supported by rustc_codegen_gcc. skipping");
31363128
return;

0 commit comments

Comments
 (0)