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,
) -> Result<(), ErrorGuaranteed>
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.