Add support for Arm64EC to the Standard Library

This commit is contained in:
Daniel Paoliello 2024-03-27 10:49:21 -07:00
parent 99d0186b1d
commit 32f5ca4be7
12 changed files with 72 additions and 46 deletions

View file

@ -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();

View file

@ -2303,6 +2303,7 @@ extern "C" {
Members: *const &RustArchiveMember<'_>,
WriteSymbtab: bool,
Kind: ArchiveKind,
isEC: bool,
) -> LLVMRustResult;
pub fn LLVMRustArchiveMemberNew<'a>(
Filename: *const c_char,