about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back
diff options
context:
space:
mode:
authorDaniel Paoliello <danpao@microsoft.com>2024-03-27 10:49:21 -0700
committerDaniel Paoliello <danpao@microsoft.com>2024-04-15 16:05:16 -0700
commit32f5ca4be7fc71274879800cb51c90ccdb7f35a5 (patch)
tree298f4112b6fd1c7b1896b2cb39fea90ca674ebb6 /compiler/rustc_codegen_llvm/src/back
parent99d0186b1d0547eae913eff04be272c9d348b9b8 (diff)
downloadrust-32f5ca4be7fc71274879800cb51c90ccdb7f35a5.tar.gz
rust-32f5ca4be7fc71274879800cb51c90ccdb7f35a5.zip
Add support for Arm64EC to the Standard Library
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back')
-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 0619000364b..d4a3e39cef7 100644
--- a/compiler/rustc_codegen_llvm/src/back/archive.rs
+++ b/compiler/rustc_codegen_llvm/src/back/archive.rs
@@ -415,6 +415,7 @@ impl<'a> LlvmArchiveBuilder<'a> {
                 members.as_ptr() as *const &_,
                 true,
                 kind,
+                self.sess.target.arch == "arm64ec",
             );
             let ret = if r.into_result().is_err() {
                 let err = llvm::LLVMRustGetLastError();