Skip to main content

link_program

Function link_program 

Source
pub fn link_program(
    entrypoint: &Path,
    project_root: &Path,
) -> Result<LinkedProgramArtifact, LinkedProgramError>
Expand description

Compile and specialize one closed source graph into the runtime’s single linked-program artifact. Package policy, signing, and source inclusion stay with the archive caller; graph discovery and bytecode reachability live here.