Skip to content

Commit 53791a4

Browse files
committed
Document wasm-bindgen-cli install revert in design spec
cargo xtask dev-setup with --locked causes externref mismatch in TS Test Suite. Reverted to hardcoded install. Tracked as bd-jakt.
1 parent 4ad5a2b commit 53791a4

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

claude-notes/designs/2026-04-03-wasm-testing-and-cleanup.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,19 @@ WASM's dofile is fully reimplemented via SystemRuntime). The failing test should
247247
on `wasm32` or moved to `wasm_lua.rs`. A follow-up issue tracks adding this feature to
248248
native as an improvement over both Pandoc and Quarto CLI behavior.
249249

250+
## wasm-bindgen-cli install method (reverted)
251+
252+
Migrating `ts-test-suite.yml` from `cargo install wasm-bindgen-cli --version 0.2.108` to
253+
`cargo xtask dev-setup` caused all hub-client `.wasm.test.ts` tests to fail with an
254+
`externref` type mismatch in the compiled WASM module. Main uses the hardcoded install
255+
and passes. The difference is that `cargo xtask dev-setup` adds `--locked` to the install.
256+
257+
Reverted in #109 — the TS Test Suite keeps the hardcoded install. The `test-suite.yml`
258+
WASM Tests job still uses `cargo xtask dev-setup` (it installs `wasm-bindgen-test-runner`,
259+
not the production `wasm-bindgen` CLI used by `build-wasm.js`).
260+
261+
Tracked as `bd-jakt` for investigation.
262+
250263
## Out of scope
251264

252265
- Migrating wasm-pack usage (no longer needed — only stale crate used it)

0 commit comments

Comments
 (0)