In the rustc_llvm build script, don't consider arm64* to be 32-bit

This commit is contained in:
Daniel Paoliello 2025-09-03 16:59:03 -07:00
parent a1208bf765
commit 4fec3aa2a4

View file

@ -254,7 +254,10 @@ fn main() {
println!("cargo:rustc-link-lib=kstat");
}
if (target.starts_with("arm") && !target.contains("freebsd") && !target.contains("ohos"))
if (target.starts_with("arm")
&& !target.starts_with("arm64")
&& !target.contains("freebsd")
&& !target.contains("ohos"))
|| target.starts_with("mips-")
|| target.starts_with("mipsel-")
|| target.starts_with("powerpc-")