Skip to main content

build_wasm_canisters_cached_batch

Function build_wasm_canisters_cached_batch 

Source
pub fn build_wasm_canisters_cached_batch(
    specs: &[WasmBuildSpec],
) -> Result<WasmBuildBatchOutcome, WasmBuildBatchError>
Expand description

Build or reuse multiple Wasm specifications as independent Cargo invocations.

Specifications run sequentially and fail fast. Each entry retains its own package set, profile arguments, feature resolution, fingerprint, locks, and cache policy. The implementation deliberately never combines packages into one Cargo command, because doing so can unify shared dependency features. Completed outcomes remain valid when a later entry fails.