File tree 3 files changed +5
-2
lines changed
compiler/rustc_codegen_cranelift
3 files changed +5
-2
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
| FreeBSD| ✅[ ^ no-rustup ] | ❓| ❓| ❓|
71
71
| AIX| ❌[ ^ xcoff ] | N/A| N/A| ❌[ ^ xcoff ] |
72
72
| Other unixes| ❓| ❓| ❓| ❓|
73
- | macOS| ✅| ✅[ ^ no-rustup ] | N/A| N/A|
73
+ | macOS| ✅| ✅| N/A| N/A|
74
74
| Windows| ✅[ ^ no-rustup ] | ❌| N/A| N/A|
75
75
76
76
✅: Fully supported and tested
Original file line number Diff line number Diff line change @@ -202,7 +202,9 @@ pub fn target_supports_cranelift_backend(target: TargetSelection) -> bool {
202
202
|| target. contains ( "aarch64" )
203
203
|| target. contains ( "s390x" )
204
204
|| target. contains ( "riscv64gc" )
205
- } else if target. contains ( "darwin" ) || target. is_windows ( ) {
205
+ } else if target. contains ( "darwin" ) {
206
+ target. contains ( "x86_64" ) || target. contains ( "aarch64" )
207
+ } else if target. is_windows ( ) {
206
208
target. contains ( "x86_64" )
207
209
} else {
208
210
false
Original file line number Diff line number Diff line change @@ -326,6 +326,7 @@ auto:
326
326
NO_DEBUG_ASSERTIONS : 1
327
327
NO_OVERFLOW_CHECKS : 1
328
328
DIST_REQUIRE_ALL_TOOLS : 1
329
+ CODEGEN_BACKENDS : llvm,cranelift
329
330
<< : *job-macos-m1
330
331
331
332
# This target only needs to support 11.0 and up as nothing else supports the hardware
You can’t perform that action at this time.
0 commit comments