rustc_codegen_ssa::back::archive

Trait ArchiveBuilder

Source
pub trait ArchiveBuilder {
    // Required methods
    fn add_file(&mut self, path: &Path);
    fn add_archive(
        &mut self,
        archive: &Path,
        skip: Box<dyn FnMut(&str) -> bool + 'static>,
    ) -> Result<()>;
    fn build(self: Box<Self>, output: &Path) -> bool;
}

Required Methods§

Source

fn add_file(&mut self, path: &Path)

Source

fn add_archive( &mut self, archive: &Path, skip: Box<dyn FnMut(&str) -> bool + 'static>, ) -> Result<()>

Source

fn build(self: Box<Self>, output: &Path) -> bool

Implementors§