diff options
| author | bors <bors@rust-lang.org> | 2024-04-18 12:22:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-18 12:22:52 +0000 |
| commit | c5de414865186e55332f7929495daa2d930f0946 (patch) | |
| tree | a272f2468d2fdf5d0eb9fc7329e4f256a75367fa /compiler/rustc_codegen_llvm/src/back/archive.rs | |
| parent | c25473ff62a99541426423e8ef41c63d71e0a4a0 (diff) | |
| parent | 32f5ca4be7fc71274879800cb51c90ccdb7f35a5 (diff) | |
| download | rust-c5de414865186e55332f7929495daa2d930f0946.tar.gz rust-c5de414865186e55332f7929495daa2d930f0946.zip | |
Auto merge of #123144 - dpaoliello:arm64eclib, r=GuillaumeGomez,ChrisDenton,wesleywiser
Add support for Arm64EC to the Standard Library Adds the final pieces so that the standard library can be built for arm64ec-pc-windows-msvc (initially added in #119199) * Bumps `windows-sys` to 0.56.0, which adds support for Arm64EC. * Correctly set the `isEC` parameter for LLVM's `writeArchive` function. * Add `#![feature(asm_experimental_arch)]` to library crates where Arm64EC inline assembly is used, as it is currently unstable.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/archive.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/archive.rs | 1 |
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(); |
