rustc_codegen_ssa::back::link

Function link_natively

Source
fn link_natively(
    sess: &Session,
    archive_builder_builder: &dyn ArchiveBuilderBuilder,
    crate_type: CrateType,
    out_filename: &Path,
    codegen_results: &CodegenResults,
    tmpdir: &Path,
)
Expand description

Create a dynamic library or executable.

This will invoke the system linker/cc to create the resulting file. This links to all upstream files as well.