wasm-bindgen
wasm-bindgen copied to clipboard
Facilitating high-level interactions between Wasm modules and JavaScript
### Describe the Bug Sometimes, we operate with JS code using the spread operator. If the object has been defined in JS, then spreading it makes all of its properties...
### Describe the Bug `wasm-bindgen` does not generate the static `__wrap(ptr)` method for a JavaScript class corresponding to a Rust struct if the *only* way instances are created is via...
### Describe the Bug I've implemented WASM hot patching for Rust. https://github.com/DioxusLabs/dioxus/pull/3797#issuecomment-2791202652 https://github.com/user-attachments/assets/f169fc3b-1589-4b69-94d4-51be97d4b382 Part of this working properly requires every symbol from the dependency rlibs to make it into the...
### Motivation I've implemented WASM hot patching for Rust. https://github.com/DioxusLabs/dioxus/pull/3797#issuecomment-2791202652 https://github.com/user-attachments/assets/f169fc3b-1589-4b69-94d4-51be97d4b382 I'd like to fixup the generated patches by running the various transforms (externref being the pricky set) but wasm-bindgen...
### Describe the Bug wasm-bindgen's interpreter chokes on emscripten compiled code. I'm running into this specifically when trying to use FMOD's HTML5 build and using the currently unstable `-Zwasm-c-abi=spec` flag...
### Describe the Bug A wasm-bindgen - generated module returns bindings which initialise tables used to allow Rust to generate JS values. The emitted bindings (usually the `*_js_bg.js` file) contains...
Updates the requirements on [askama](https://github.com/askama-rs/askama) to permit the latest version. Release notes Sourced from askama's releases. v0.14.0 Added Features Implement Values on tuple by @GuillaumeGomez in askama-rs/askama#391 Pass variables to...
Fixes #4449. The change to crates/cli/tests/reference/wasm-export-types.rs reproduces the issue in a test. The change to wasm2es6js.rs fixes it.
Presently, the majority of modern browsers have provided support for modules within web workers. Therefore, it is advisable to employ `--target web`. For detailed information regarding browser compatibility, please refer...
### Describe the Bug After updating wasm-bindgen-test to version 0.3.50, tests are no longer loading when run with the WASM_BINDGEN_USE_NO_MODULE=1 flag. ### Steps to Reproduce 1. Update wasm-bindgen-test to version...