From 1695fbb408e5fc1015b749eb7a44653fcc20fb5d Mon Sep 17 00:00:00 2001 From: bchanot Date: Sun, 18 Oct 2026 16:18:26 +0200 Subject: [PATCH] chore(chore): wasm-build refuses any *_for_test export in the shipped module --- scripts/wasm-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wasm-build.sh b/scripts/wasm-build.sh index 473e4fb7..a0049719 100755 --- a/scripts/wasm-build.sh +++ b/scripts/wasm-build.sh @@ -47,7 +47,7 @@ else fi # The shipped module must not carry a proof export. -if grep -Eq 'panic_for_test|recurse_for_test' packages/core-wasm/pkg/faunosteo_wasm.d.ts; then +if grep -Eq '_for_test' packages/core-wasm/pkg/faunosteo_wasm.d.ts; then echo "packages/core-wasm/pkg exports a proof function: refusing to ship it" >&2 exit 1 fi