mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Only run cg_gcc tests on linux x86_64
This commit is contained in:
parent
edfd67b598
commit
4b290d40a5
@ -3121,16 +3121,8 @@ impl Step for CodegenGCC {
|
||||
}
|
||||
|
||||
let triple = run.target.triple;
|
||||
let target_supported = if triple.contains("linux") {
|
||||
triple.contains("x86_64")
|
||||
|| triple.contains("aarch64")
|
||||
|| triple.contains("s390x")
|
||||
|| triple.contains("riscv64gc")
|
||||
} else if triple.contains("darwin") || triple.contains("windows") {
|
||||
triple.contains("x86_64")
|
||||
} else {
|
||||
false
|
||||
};
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user