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 @@ -1348,18 +1348,9 @@ impl Step for CodegenBackend {
1348
1348
return None ;
1349
1349
}
1350
1350
1351
- if self . backend == "cranelift" {
1352
- if !target_supports_cranelift_backend ( self . compiler . host ) {
1353
- builder. info ( "target not supported by rustc_codegen_cranelift. skipping" ) ;
1354
- return None ;
1355
- }
1356
-
1357
- if self . compiler . host . is_windows ( ) {
1358
- builder. info (
1359
- "dist currently disabled for windows by rustc_codegen_cranelift. skipping" ,
1360
- ) ;
1361
- return None ;
1362
- }
1351
+ if self . backend == "cranelift" && !target_supports_cranelift_backend ( self . compiler . host ) {
1352
+ builder. info ( "target not supported by rustc_codegen_cranelift. skipping" ) ;
1353
+ return None ;
1363
1354
}
1364
1355
1365
1356
let compiler = self . compiler ;
Original file line number Diff line number Diff line change @@ -418,6 +418,7 @@ auto:
418
418
--set rust.codegen-units=1
419
419
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
420
420
DIST_REQUIRE_ALL_TOOLS : 1
421
+ CODEGEN_BACKENDS : llvm,cranelift
421
422
<< : *job-windows-8c
422
423
423
424
- image : dist-i686-msvc
@@ -430,6 +431,7 @@ auto:
430
431
--enable-profiler
431
432
SCRIPT : python x.py dist bootstrap --include-default-paths
432
433
DIST_REQUIRE_ALL_TOOLS : 1
434
+ CODEGEN_BACKENDS : llvm,cranelift
433
435
<< : *job-windows-8c
434
436
435
437
- image : dist-aarch64-msvc
@@ -454,6 +456,7 @@ auto:
454
456
NO_DOWNLOAD_CI_LLVM : 1
455
457
SCRIPT : python x.py dist bootstrap --include-default-paths
456
458
DIST_REQUIRE_ALL_TOOLS : 1
459
+ CODEGEN_BACKENDS : llvm,cranelift
457
460
<< : *job-windows-8c
458
461
459
462
- image : dist-x86_64-mingw
@@ -466,6 +469,7 @@ auto:
466
469
# incompatible with LLVM downloads today).
467
470
NO_DOWNLOAD_CI_LLVM : 1
468
471
DIST_REQUIRE_ALL_TOOLS : 1
472
+ CODEGEN_BACKENDS : llvm,cranelift
469
473
<< : *job-windows-8c
470
474
471
475
- image : dist-x86_64-msvc-alt
You can’t perform that action at this time.
0 commit comments