File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -3223,6 +3223,11 @@ impl Step for CodegenCranelift {
32233223 return ;
32243224 }
32253225
3226+ if builder. download_rustc ( ) {
3227+ builder. info ( "CI rustc uses the default codegen backend. 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 ( "CI rustc uses the default codegen backend. 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 } ;
You can’t perform that action at this time.
0 commit comments