Closed
Description
The documentation page https://rustwasm.github.io/wasm-bindgen/examples/hello-world.html has a link "view the compiled example online".
This example does not work.
To reproduce
- Open https://rustwasm.github.io/wasm-bindgen/exbuild/hello_world/ in your browser.
Expected behavior
Hello world alert or whatever.
Actual behavior
Blank page, nothing happens. In the JS console there is the following message:
TypeError: Cannot read property '__wbindgen_malloc' of undefined
at passStringToWasm (hello_world.js:66)
at Module.greet (hello_world.js:77)
at rust.then.m (index.js:7)