pub struct ArMerger { /* private fields */ }
Implementations§
source§impl ArMerger
impl ArMerger
sourcepub fn new<I: IntoParallelIterator<Item = InputLibrary<R>>, R: Read, O: AsRef<Path>>(
input_libs: I,
output: O
) -> Result<Self, ProcessInputError>
pub fn new<I: IntoParallelIterator<Item = InputLibrary<R>>, R: Read, O: AsRef<Path>>( input_libs: I, output: O ) -> Result<Self, ProcessInputError>
Open and extract the contents of the input static libraries
sourcepub fn new_from_paths<I: IntoIterator<Item = P>, P: AsRef<Path>, O: AsRef<Path>>(
input_paths: I,
output_path: O
) -> Result<Self, ProcessInputError>
pub fn new_from_paths<I: IntoIterator<Item = P>, P: AsRef<Path>, O: AsRef<Path>>( input_paths: I, output_path: O ) -> Result<Self, ProcessInputError>
Open and extract the contents of the input static libraries at the given paths
sourcepub fn archive_contents(&self) -> ArchiveContents
pub fn archive_contents(&self) -> ArchiveContents
The type of object files detected in all the input archives
sourcepub fn merge_simple(self) -> Result<(), MergeError>
pub fn merge_simple(self) -> Result<(), MergeError>
Merge without localizing any symbols, this just re-packs extracted object files into an archive
sourcepub fn merge_and_localize<Iter: IntoIterator<Item = Regex>>(
self,
keep_or_remove: ArmergeKeepOrRemove,
symbols_regexes: Iter
) -> Result<(), MergeError>
pub fn merge_and_localize<Iter: IntoIterator<Item = Regex>>( self, keep_or_remove: ArmergeKeepOrRemove, symbols_regexes: Iter ) -> Result<(), MergeError>
Merge input libraries and localize non-public symbols
keep_symbols_regexes
contains the regex name pattern for public symbols to keep exported
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ArMerger
impl !Send for ArMerger
impl !Sync for ArMerger
impl Unpin for ArMerger
impl !UnwindSafe for ArMerger
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more