This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-13
lines changed
compiler/rustc_codegen_cranelift
bootstrap/src/core/build_steps Expand file tree Collapse file tree 3 files changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ For more docs on how to build and test see [build_system/usage.txt](build_system
7070| AIX| ❌[ ^ xcoff ] | N/A| N/A| ❌[ ^ xcoff ] |
7171| Other unixes| ❓| ❓| ❓| ❓|
7272| macOS| ✅| ✅| N/A| N/A|
73- | Windows| ✅[ ^ no-rustup ] | ❌| N/A| N/A|
73+ | Windows| ✅| ❌| N/A| N/A|
7474
7575✅: Fully supported and tested
7676❓: Maybe supported, not tested
Original file line number Diff line number Diff line change @@ -1361,18 +1361,9 @@ impl Step for CodegenBackend {
13611361 return None ;
13621362 }
13631363
1364- if self . backend == "cranelift" {
1365- if !target_supports_cranelift_backend ( self . compiler . host ) {
1366- builder. info ( "target not supported by rustc_codegen_cranelift. skipping" ) ;
1367- return None ;
1368- }
1369-
1370- if self . compiler . host . is_windows ( ) {
1371- builder. info (
1372- "dist currently disabled for windows by rustc_codegen_cranelift. skipping" ,
1373- ) ;
1374- return None ;
1375- }
1364+ if self . backend == "cranelift" && !target_supports_cranelift_backend ( self . compiler . host ) {
1365+ builder. info ( "target not supported by rustc_codegen_cranelift. skipping" ) ;
1366+ return None ;
13761367 }
13771368
13781369 let compiler = self . compiler ;
Original file line number Diff line number Diff line change @@ -416,6 +416,7 @@ auto:
416416 --set rust.codegen-units=1
417417 SCRIPT : python x.py build --set rust.debug=true opt-dist && PGO_HOST=x86_64-pc-windows-msvc ./build/x86_64-pc-windows-msvc/stage0-tools-bin/opt-dist windows-ci -- python x.py dist bootstrap --include-default-paths
418418 DIST_REQUIRE_ALL_TOOLS : 1
419+ CODEGEN_BACKENDS : llvm,cranelift
419420 << : *job-windows-8c
420421
421422 - image : dist-i686-msvc
@@ -428,6 +429,7 @@ auto:
428429 --enable-profiler
429430 SCRIPT : python x.py dist bootstrap --include-default-paths
430431 DIST_REQUIRE_ALL_TOOLS : 1
432+ CODEGEN_BACKENDS : llvm,cranelift
431433 << : *job-windows-8c
432434
433435 - image : dist-aarch64-msvc
@@ -452,6 +454,7 @@ auto:
452454 NO_DOWNLOAD_CI_LLVM : 1
453455 SCRIPT : python x.py dist bootstrap --include-default-paths
454456 DIST_REQUIRE_ALL_TOOLS : 1
457+ CODEGEN_BACKENDS : llvm,cranelift
455458 << : *job-windows-8c
456459
457460 - image : dist-x86_64-mingw
@@ -464,6 +467,7 @@ auto:
464467 # incompatible with LLVM downloads today).
465468 NO_DOWNLOAD_CI_LLVM : 1
466469 DIST_REQUIRE_ALL_TOOLS : 1
470+ CODEGEN_BACKENDS : llvm,cranelift
467471 << : *job-windows-8c
468472
469473 - image : dist-x86_64-msvc-alt
You can’t perform that action at this time.
0 commit comments