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

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

Rust Crate linking

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).