pub fn execute(
store: &Path,
scratch_parent: &Path,
target: &TargetContract,
destination: &Path,
embedder: &dyn Embedder,
batch: usize,
) -> Result<ExecuteOutcome, MemoryError>Expand description
Diagnose, stage, lock, rebuild, release — the whole non-dry-run path.
A pre-existing journal at the derived workspace is resumed, provided it describes this exact source, fingerprint and target; anything else about it is a refusal, never an overwrite.
§Errors
Returns crate::MemoryError when the regime resolution refuses, the
destination holds data no journal accounts for, the journal describes a
different migration, the lock is held or left from a crash, or the pass
itself fails.