Function rustc_codegen_ssa::back::link::add_upstream_rust_crates[][src]

fn add_upstream_rust_crates<'a, B: ArchiveBuilder<'a>>(
    cmd: &mut dyn Linker,
    sess: &'a Session,
    codegen_results: &CodegenResults,
    crate_type: CrateType,
    tmpdir: &Path
)
Expand description

Linking Rust crates and their nobundle static libraries

Rust crates are not considered at all when creating an rlib output. All dependencies will be linked when producing the final output (instead of the intermediate rlib version).