pub fn run_final_cargo<P>(
request: &FinalCargoRequest,
plan: &P,
) -> Result<FinalCargoOutput, FinalCargoError>where
P: FinalCargoPlan,Expand description
Validate the plan and run one final, compile-only Cargo invocation.
An original cargo run request is compiled with cargo build; an original
cargo test request is compiled with cargo test --no-run. Runtime
arguments are never passed to Cargo here. Before optional execution, the
linked pipeline attests the exact resulting root, validates its launch
dependencies, and publishes a supported immutable snapshot.