Skip to main content

link

Function link 

Source
pub fn link(
    object: &Path,
    runtime: &Path,
    executable: &Path,
) -> Result<(), CodegenError>
Expand description

Links object with runtime, the runtime library, into the executable executable, replacing it.

§Errors

When the linker can’t be found or run, or it fails.