See the README for wasm-bindgen-test for a bit more info about what’s going on here.
wasm-bindgen-test