Expand description
Host-side artifact discovery, freshness, and Wasm build helpers.
These functions keep integration-test artifacts in caller-selected target directories and contain no application-specific package or profile policy.
Structs§
- Watched
Input Snapshot - Newest modification time captured across a set of watched input trees.
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
<workspace>/target/<name>for isolated host-side test artifacts. - wasm_
artifacts_ ready - Check whether every requested Wasm artifact is a regular file.
- wasm_
path - Resolve one crate’s Wasm artifact under a caller-selected Cargo target directory.
- workspace_
root_ for - Resolve the conventional workspace root from a crate manifest directory.