Function rustc_codegen_ssa::back::link::link_natively
source · [−]fn link_natively<'a>(
sess: &'a 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.