add_native_libs_from_crate in rustc_codegen_ssa::back::link - Rust
Description: API documentation for the Rust `add_native_libs_from_crate` fn in crate `rustc_codegen_ssa`.

Skip to main content

## add_native_libs_from_crate

# Function add_native_libs_from_crate

Source

    fn add_native_libs_from_crate(
        cmd: &mut dyn Linker,
        sess: &Session,
        archive_builder_builder: &dyn ArchiveBuilderBuilder,
        crate_info: &CrateInfo,
        tmpdir: &Path,
        bundled_libs: &FxIndexSet<Symbol>,
        cnum: CrateNum,
        link_static: bool,
        link_dynamic: bool,
        link_output_kind: LinkOutputKind,
    )