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.
This commit is contained in:
commit
39c6804b92
10 changed files with 49 additions and 40 deletions
|
@ -552,6 +552,7 @@ pub enum ArchiveKind {
|
|||
K_BSD,
|
||||
K_DARWIN,
|
||||
K_COFF,
|
||||
K_AIXBIG,
|
||||
}
|
||||
|
||||
// LLVMRustThinLTOData
|
||||
|
|
|
@ -137,6 +137,7 @@ impl FromStr for ArchiveKind {
|
|||
"bsd" => Ok(ArchiveKind::K_BSD),
|
||||
"darwin" => Ok(ArchiveKind::K_DARWIN),
|
||||
"coff" => Ok(ArchiveKind::K_COFF),
|
||||
"aix_big" => Ok(ArchiveKind::K_AIXBIG),
|
||||
_ => Err(()),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue