Skip to main content

prepare_runtime_artifact

Function prepare_runtime_artifact 

Source
pub fn prepare_runtime_artifact(
    invocation: &mut Invocation,
    input: RuntimeArtifactInput,
) -> Result<()>
Expand description

Prepares runtime ELF/BIN outputs from an already built artifact.

This is useful when a caller builds with cargo_build, modifies the returned ELF in place, and then wants QEMU, U-Boot, or board runners to consume the updated artifact without rebuilding it.