Skip to main content

Module artifacts

Module artifacts 

Source
Expand description

Host-side artifact discovery and build helpers for PocketIC tests.

Structs§

WatchedInputSnapshot
WatchedInputSnapshot

Functions§

build_wasm_canisters
Build one or more wasm canisters into the provided target directory.
icp_artifact_ready_for_build
Check whether an ICP artifact exists, is nonempty, and is fresh against watched inputs.
icp_artifact_ready_with_snapshot
Check one ICP artifact against one already-captured watched-input snapshot.
read_wasm
Read a compiled wasm artifact for one crate.
test_target_dir
Return a stable target directory for host-side wasm test artifacts.
wasm_artifacts_ready
Check whether all requested wasm artifacts already exist.
wasm_path
Resolve the wasm artifact path for one crate under a target directory.
workspace_root_for
Resolve the workspace root from a crate manifest directory.