Skip to main content

build

Function build 

Source
fn build(
    sources: &Sources,
    program: &Program,
    name: &str,
    output: &Path,
    runtime: &Path,
) -> Result<PathBuf, CliError>
Expand description

Compiles and links program in a scratch folder, then writes the app around the executable, so a failure leaves an earlier build as it was. Returns the app.