mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
skip Codegen{GCC,Cranelift} when using CI rustc
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
3d5528c287
commit
167e3ab8c8
@ -3223,6 +3223,11 @@ impl Step for CodegenCranelift {
|
||||
return;
|
||||
}
|
||||
|
||||
if builder.download_rustc() {
|
||||
builder.info("CI rustc uses the default codegen backend. skipping");
|
||||
return;
|
||||
}
|
||||
|
||||
if !target_supports_cranelift_backend(run.target) {
|
||||
builder.info("target not supported by rustc_codegen_cranelift. skipping");
|
||||
return;
|
||||
@ -3344,6 +3349,11 @@ impl Step for CodegenGCC {
|
||||
return;
|
||||
}
|
||||
|
||||
if builder.download_rustc() {
|
||||
builder.info("CI rustc uses the default codegen backend. skipping");
|
||||
return;
|
||||
}
|
||||
|
||||
let triple = run.target.triple;
|
||||
let target_supported =
|
||||
if triple.contains("linux") { triple.contains("x86_64") } else { false };
|
||||
|
Loading…
Reference in New Issue
Block a user