Struct rustc_codegen_llvm::back::archive::LlvmArchiveBuilder[][src]

pub struct LlvmArchiveBuilder<'a> {
    config: ArchiveConfig<'a>,
    removals: Vec<String>,
    additions: Vec<Addition>,
    should_update_symbols: bool,
    src_archive: Option<Option<ArchiveRO>>,
}
Expand description

Helper for adding many files to an archive.

Fields

config: ArchiveConfig<'a>removals: Vec<String>additions: Vec<Addition>should_update_symbols: boolsrc_archive: Option<Option<ArchiveRO>>

Implementations

Trait Implementations

Creates a new static archive, ready for modifying the archive specified by config.

Removes a file from this archive

Lists all files in an archive

Adds an arbitrary file to this archive

Indicate that the next call to build should update all symbols in the archive (equivalent to running ‘ar s’ over it).

Combine the provided files, rlibs, and native libraries into a single Archive.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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: 128 bytes