Distribute rustc_codegen_cranelift for arm64 macOS
This commit is contained in:
parent
ef3d6fd700
commit
9f7e049744
@ -70,7 +70,7 @@ For more docs on how to build and test see [build_system/usage.txt](build_system
|
|||||||
|FreeBSD|✅[^no-rustup]|❓|❓|❓|
|
|FreeBSD|✅[^no-rustup]|❓|❓|❓|
|
||||||
|AIX|❌[^xcoff]|N/A|N/A|❌[^xcoff]|
|
|AIX|❌[^xcoff]|N/A|N/A|❌[^xcoff]|
|
||||||
|Other unixes|❓|❓|❓|❓|
|
|Other unixes|❓|❓|❓|❓|
|
||||||
|macOS|✅|✅[^no-rustup]|N/A|N/A|
|
|macOS|✅|✅|N/A|N/A|
|
||||||
|Windows|✅[^no-rustup]|❌|N/A|N/A|
|
|Windows|✅[^no-rustup]|❌|N/A|N/A|
|
||||||
|
|
||||||
✅: Fully supported and tested
|
✅: Fully supported and tested
|
||||||
|
@ -202,7 +202,9 @@ pub fn target_supports_cranelift_backend(target: TargetSelection) -> bool {
|
|||||||
|| target.contains("aarch64")
|
|| target.contains("aarch64")
|
||||||
|| target.contains("s390x")
|
|| target.contains("s390x")
|
||||||
|| target.contains("riscv64gc")
|
|| target.contains("riscv64gc")
|
||||||
} else if target.contains("darwin") || target.is_windows() {
|
} else if target.contains("darwin") {
|
||||||
|
target.contains("x86_64") || target.contains("aarch64")
|
||||||
|
} else if target.is_windows() {
|
||||||
target.contains("x86_64")
|
target.contains("x86_64")
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
|
@ -326,6 +326,7 @@ auto:
|
|||||||
NO_DEBUG_ASSERTIONS: 1
|
NO_DEBUG_ASSERTIONS: 1
|
||||||
NO_OVERFLOW_CHECKS: 1
|
NO_OVERFLOW_CHECKS: 1
|
||||||
DIST_REQUIRE_ALL_TOOLS: 1
|
DIST_REQUIRE_ALL_TOOLS: 1
|
||||||
|
CODEGEN_BACKENDS: llvm,cranelift
|
||||||
<<: *job-macos-m1
|
<<: *job-macos-m1
|
||||||
|
|
||||||
# This target only needs to support 11.0 and up as nothing else supports the hardware
|
# This target only needs to support 11.0 and up as nothing else supports the hardware
|
||||||
|
Loading…
Reference in New Issue
Block a user