Skip to main content

run_cargo_build

Function run_cargo_build 

Source
async fn run_cargo_build(
    config: &CargoBuilderConfig,
    target: Option<&str>,
    triple: &str,
    version: &str,
) -> Result<Vec<ArtifactPath>>
Expand description

Spawn cargo build --release --message-format=json [--target <triple>] [--manifest-path <path>] and collect every artifact path from the compiler-artifact messages.