File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
compiler/rustc_codegen_cranelift Expand file tree Collapse file tree 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
7070| FreeBSD| ✅[ ^ no-rustup ] | ❓| ❓| ❓|
7171| AIX| ❌[ ^ xcoff ] | N/A| N/A| ❌[ ^ xcoff ] |
7272| Other unixes| ❓| ❓| ❓| ❓|
73- | macOS| ✅| ✅[ ^ no-rustup ] | N/A| N/A|
73+ | macOS| ✅| ✅| N/A| N/A|
7474| Windows| ✅[ ^ no-rustup ] | ❌| N/A| N/A|
7575
7676✅: 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 {
202202 || target. contains ( "aarch64" )
203203 || target. contains ( "s390x" )
204204 || 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 ( ) {
206208 target. contains ( "x86_64" )
207209 } else {
208210 false
Original file line number Diff line number Diff line change @@ -326,6 +326,7 @@ auto:
326326 NO_DEBUG_ASSERTIONS : 1
327327 NO_OVERFLOW_CHECKS : 1
328328 DIST_REQUIRE_ALL_TOOLS : 1
329+ CODEGEN_BACKENDS : llvm,cranelift
329330 << : *job-macos-m1
330331
331332 # 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