Struct rustc_codegen_llvm::back::archive::LlvmArchiveBuilder
source · [−]Expand description
Helper for adding many files to an archive.
Fields
sess: &'a Sessiondst: PathBufadditions: Vec<Addition>Implementations
sourceimpl<'a> LlvmArchiveBuilder<'a>
impl<'a> LlvmArchiveBuilder<'a>
fn build_with_llvm(&mut self) -> Result<bool>
fn i686_decorated_name(import: &DllImport, mingw: bool) -> String
Trait Implementations
sourceimpl<'a> ArchiveBuilder<'a> for LlvmArchiveBuilder<'a>
impl<'a> ArchiveBuilder<'a> for LlvmArchiveBuilder<'a>
sourcefn new(sess: &'a Session, output: &Path) -> LlvmArchiveBuilder<'a>
fn new(sess: &'a Session, output: &Path) -> LlvmArchiveBuilder<'a>
Creates a new static archive, ready for modifying the archive specified
by config.
sourcefn build(self) -> bool
fn build(self) -> bool
Combine the provided files, rlibs, and native libraries into a single
Archive.
fn add_archive<F>(&mut self, archive: &Path, skip: F) -> Result<()> where
F: FnMut(&str) -> bool + 'static,
fn inject_dll_import_lib(
&mut self,
lib_name: &str,
dll_imports: &[DllImport],
tmpdir: &MaybeTempDir
)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for LlvmArchiveBuilder<'a>
impl<'a> !Send for LlvmArchiveBuilder<'a>
impl<'a> !Sync for LlvmArchiveBuilder<'a>
impl<'a> Unpin for LlvmArchiveBuilder<'a>
impl<'a> !UnwindSafe for LlvmArchiveBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes