about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/archive.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-08 07:09:40 +0000
committerbors <bors@rust-lang.org>2024-03-08 07:09:40 +0000
commit4db028f44995266895ae9e75b0a0726cc690ef7c (patch)
tree9da59f255a8a2d5451877c60b9b4d48ab5328542 /compiler/rustc_codegen_llvm/src/back/archive.rs
parent305d2b0f5c7e8081ab21f78e2d53ed8f84aebecd (diff)
parentfcd2efeb1180162091ce8f79087b2cbd56ea0b76 (diff)
downloadrust-4db028f44995266895ae9e75b0a0726cc690ef7c.tar.gz
rust-4db028f44995266895ae9e75b0a0726cc690ef7c.zip
Auto merge of #3365 - rust-lang:rustup-2024-03-08, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/archive.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/archive.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/archive.rs b/compiler/rustc_codegen_llvm/src/back/archive.rs
index ca43ac4b0e7..0619000364b 100644
--- a/compiler/rustc_codegen_llvm/src/back/archive.rs
+++ b/compiler/rustc_codegen_llvm/src/back/archive.rs
@@ -55,6 +55,7 @@ fn llvm_machine_type(cpu: &str) -> LLVMMachineType {
         "x86_64" => LLVMMachineType::AMD64,
         "x86" => LLVMMachineType::I386,
         "aarch64" => LLVMMachineType::ARM64,
+        "arm64ec" => LLVMMachineType::ARM64EC,
         "arm" => LLVMMachineType::ARM,
         _ => panic!("unsupported cpu type {cpu}"),
     }