diff options
| author | bors <bors@rust-lang.org> | 2023-04-19 21:21:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-19 21:21:17 +0000 |
| commit | 39c6804b92aa202369e402525cee329556bc1db0 (patch) | |
| tree | 444aa2df0043444225f7e2b7b5c25cd6397359e4 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | 9c51cf7e7ffd4ca1b7159657a76e1d4fbab18276 (diff) | |
| parent | 7c8c9cf47015b2776760ccc496554ba0a1ede5e3 (diff) | |
| download | rust-39c6804b92aa202369e402525cee329556bc1db0.tar.gz rust-39c6804b92aa202369e402525cee329556bc1db0.zip | |
Auto merge of #106704 - ecnelises:big_archive, r=bjorn3
Support AIX-style archive type Reading facility of AIX big archive has been supported by `object` since 0.30.0. Writing facility of AIX big archive has already been supported by `ar_archive_writer`, but we need to bump the version to support the new archive type enum.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp index 448a1f62f69..35d6b9ed7a4 100644 --- a/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp @@ -39,6 +39,7 @@ enum class LLVMRustArchiveKind { BSD, DARWIN, COFF, + AIX_BIG, }; static Archive::Kind fromRust(LLVMRustArchiveKind Kind) { @@ -51,6 +52,8 @@ static Archive::Kind fromRust(LLVMRustArchiveKind Kind) { return Archive::K_DARWIN; case LLVMRustArchiveKind::COFF: return Archive::K_COFF; + case LLVMRustArchiveKind::AIX_BIG: + return Archive::K_AIXBIG; default: report_fatal_error("Bad ArchiveKind."); } |
