From 0a1ea20ea2466812287b868ae55cbfcb5858eaca Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Mon, 23 Nov 2026 03:39:25 +0000 Subject: [PATCH] test(id-worlds): add zig-counter to the F12.7 conformance modules (#12596) The Zig guest SDK's playable example (examples/zig-counter, PR #12837) joins roc-counter, rust-counter and tic-tac-toe in CONFORMANCE_MODULES, so the ABI.md export-surface, abi-version and snapshot/restore round-trip conformance tests now run against the checked-in Zig module with no Zig toolchain required. --- pkgs/id/crates/id-worlds/src/sandbox.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/id/crates/id-worlds/src/sandbox.rs b/pkgs/id/crates/id-worlds/src/sandbox.rs index e788d78762..2d0ac9a63a 100644 --- a/pkgs/id/crates/id-worlds/src/sandbox.rs +++ b/pkgs/id/crates/id-worlds/src/sandbox.rs @@ -1423,7 +1423,7 @@ mod tests { const ABI_MD: &str = include_str!("../../../examples/roc-world/ABI.md"); - const CONFORMANCE_MODULES: [(&str, &[u8]); 3] = [ + const CONFORMANCE_MODULES: [(&str, &[u8]); 4] = [ ( "roc-counter", include_bytes!("../../../examples/roc-counter/counter.wasm"), @@ -1432,6 +1432,10 @@ mod tests { "rust-counter", include_bytes!("../../../examples/rust-counter/counter.wasm"), ), + ( + "zig-counter", + include_bytes!("../../../examples/zig-counter/counter.wasm"), + ), ( "tic-tac-toe", include_bytes!("../../../apps/tic-tac-toe/program/tic-tac-toe.wasm"),