rustc_codegen_ssa::back::link

Function link_binary

Source
pub fn link_binary(
    sess: &Session,
    archive_builder_builder: &dyn ArchiveBuilderBuilder,
    codegen_results: CodegenResults,
    outputs: &OutputFilenames,
) -> Result<(), ErrorGuaranteed>
Expand description

Performs the linkage portion of the compilation phase. This will generate all of the requested outputs for this compilation session.