File tree 3 files changed +8
-13
lines changed
compiler/rustc_codegen_cranelift
bootstrap/src/core/build_steps
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
70
70
| AIX| ❌[ ^ xcoff ] | N/A| N/A| ❌[ ^ xcoff ] |
71
71
| Other unixes| ❓| ❓| ❓| ❓|
72
72
| macOS| ✅| ✅| N/A| N/A|
73
- | Windows| ✅[ ^ no-rustup ] | ❌| N/A| N/A|
73
+ | Windows| ✅| ❌| N/A| N/A|
74
74
75
75
✅: Fully supported and tested
76
76
❓: Maybe supported, not tested
Original file line number Diff line number Diff line change @@ -1361,18 +1361,9 @@ impl Step for CodegenBackend {
1361
1361
return None ;
1362
1362
}
1363
1363
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 ;
1376
1367
}
1377
1368
1378
1369
let compiler = self . compiler ;
Original file line number Diff line number Diff line change @@ -416,6 +416,7 @@ auto:
416
416
--set rust.codegen-units=1
417
417
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
418
418
DIST_REQUIRE_ALL_TOOLS : 1
419
+ CODEGEN_BACKENDS : llvm,cranelift
419
420
<< : *job-windows-8c
420
421
421
422
- image : dist-i686-msvc
@@ -428,6 +429,7 @@ auto:
428
429
--enable-profiler
429
430
SCRIPT : python x.py dist bootstrap --include-default-paths
430
431
DIST_REQUIRE_ALL_TOOLS : 1
432
+ CODEGEN_BACKENDS : llvm,cranelift
431
433
<< : *job-windows-8c
432
434
433
435
- image : dist-aarch64-msvc
@@ -452,6 +454,7 @@ auto:
452
454
NO_DOWNLOAD_CI_LLVM : 1
453
455
SCRIPT : python x.py dist bootstrap --include-default-paths
454
456
DIST_REQUIRE_ALL_TOOLS : 1
457
+ CODEGEN_BACKENDS : llvm,cranelift
455
458
<< : *job-windows-8c
456
459
457
460
- image : dist-x86_64-mingw
@@ -464,6 +467,7 @@ auto:
464
467
# incompatible with LLVM downloads today).
465
468
NO_DOWNLOAD_CI_LLVM : 1
466
469
DIST_REQUIRE_ALL_TOOLS : 1
470
+ CODEGEN_BACKENDS : llvm,cranelift
467
471
<< : *job-windows-8c
468
472
469
473
- image : dist-x86_64-msvc-alt
You can’t perform that action at this time.
0 commit comments