In the rustc_llvm build script, don't consider arm64* to be 32-bit
This commit is contained in:
parent
a1208bf765
commit
4fec3aa2a4
1 changed files with 4 additions and 1 deletions
|
|
@ -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-")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue