Skip to content

Commit 9b8b66e

Browse files
committed
debugging
Signed-off-by: onur-ozkan <[email protected]>
1 parent 6f7cdd6 commit 9b8b66e

File tree

1 file changed

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

1 file changed

+10
-0
lines changed

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

+10
Original file line numberDiff line numberDiff line change
@@ -3223,6 +3223,11 @@ impl Step for CodegenCranelift {
32233223
return;
32243224
}
32253225

3226+
if builder.download_rustc() {
3227+
builder.info("pre-compiled/downloaded rustc detected. skipping");
3228+
return;
3229+
}
3230+
32263231
if !target_supports_cranelift_backend(run.target) {
32273232
builder.info("target not supported by rustc_codegen_cranelift. skipping");
32283233
return;
@@ -3344,6 +3349,11 @@ impl Step for CodegenGCC {
33443349
return;
33453350
}
33463351

3352+
if builder.download_rustc() {
3353+
builder.info("pre-compiled/downloaded rustc detected. skipping");
3354+
return;
3355+
}
3356+
33473357
let triple = run.target.triple;
33483358
let target_supported =
33493359
if triple.contains("linux") { triple.contains("x86_64") } else { false };

0 commit comments

Comments
 (0)