diff options
| author | Daniel Paoliello <danpao@microsoft.com> | 2025-09-03 16:59:03 -0700 |
|---|---|---|
| committer | Daniel Paoliello <danpao@microsoft.com> | 2025-09-03 16:59:03 -0700 |
| commit | 4fec3aa2a4e087c981a083dca59e7434cac52625 (patch) | |
| tree | 16da229ece71a389e0c3ce9bc113f823c8bbc5d0 /compiler/rustc_llvm | |
| parent | a1208bf765ba783ee4ebdc4c29ab0a0c215806ef (diff) | |
| download | rust-4fec3aa2a4e087c981a083dca59e7434cac52625.tar.gz rust-4fec3aa2a4e087c981a083dca59e7434cac52625.zip | |
In the rustc_llvm build script, don't consider arm64* to be 32-bit
Diffstat (limited to 'compiler/rustc_llvm')
| -rw-r--r-- | compiler/rustc_llvm/build.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs index d01f79dcade..804f46374d5 100644 --- a/compiler/rustc_llvm/build.rs +++ b/compiler/rustc_llvm/build.rs @@ -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-") |
