[][src]Trait rustc_codegen_ssa::back::archive::ArchiveBuilder

pub trait ArchiveBuilder<'a> {
    fn new(sess: &'a Session, output: &Path, input: Option<&Path>) -> Self;
fn add_file(&mut self, path: &Path);
fn remove_file(&mut self, name: &str);
fn src_files(&mut self) -> Vec<String>;
fn add_rlib(
        &mut self,
        path: &Path,
        name: &str,
        lto: bool,
        skip_objects: bool
    ) -> Result<()>;
fn add_native_library(&mut self, name: Symbol);
fn update_symbols(&mut self);
fn build(self); }

Required methods

fn new(sess: &'a Session, output: &Path, input: Option<&Path>) -> Self

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

fn remove_file(&mut self, name: &str)

fn src_files(&mut self) -> Vec<String>

fn add_rlib(
    &mut self,
    path: &Path,
    name: &str,
    lto: bool,
    skip_objects: bool
) -> Result<()>

fn add_native_library(&mut self, name: Symbol)

fn update_symbols(&mut self)

fn build(self)

Loading content...

Implementors

Loading content...