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

Linking Rust crates and their non-bundled 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).