Memory ABI mechanism probe
This actual-target fixture exercises the SDK's compiled physical-layout
reflection. Its source was moved unchanged from the SDK's abi-probe example;
the test-only features now belong to this package.
The global Wasm allocator traps on every allocation. Digest construction and visitation therefore use only compiled statics and bounded stack storage. The fixture has no retained root and establishes no KEEP, migration or reclamation claim. Product-native reflection tests remain in the SDK memory-ABI crate.
The memory-abi-probe-canister package belongs to tests/Cargo.toml
and uses the harness's pinned compiler environment. Build the default,
business-two and changed-layout variants separately into fresh artifact
directories. business-two changes the returned business value from 1 to 2
while preserving the reflected layout; changed-layout changes the vector
element from u64 to u32 and must change the layout digest.
Its query exports use raw bytes:
probe: the 32-byte root digest, u64 node count, each node's u64 size, alignment and UTF-8 name length followed by name bytes, then the u64 business value. Integers are little endian.tagged: three 32-byte type digests, the three observed tag bytes, then u64 packet size, packet alignment and signal size in little endian.
These are mechanism-test envelopes. They do not use ordinary generated Wire methods or provide a public application interface. No active host runner currently selects this fixture; frozen experiment runners retain their original source paths and artifact identities.