wasm-bindgen icon indicating copy to clipboard operation
wasm-bindgen copied to clipboard

Facilitating high-level interactions between Wasm modules and JavaScript

Results 412 wasm-bindgen issues
Sort by recently updated
recently updated
newest added

We've got this wired up on our internal build system and wanted to try and get feedback before we get further. With our internal build system we've got this working...

needs discussion

### Describe the Bug wasm_bindgen allows you to create an async constructor even though this is not supported by typescript. ### Steps to Reproduce ```rust #[wasm_bindgen] pub struct MyStruct {...

bug

### Describe the Bug A clear and concise description of what the bug is. ### Steps to Reproduce 1. checkout https://github.com/lizelive/wasm-bindgen/blob/4bf006d408f1244800156eb8b531366740af6595/crates/web-sys/webidls/unstable/WebNN.webidl 2. build ` podman run --rm -v "$PWD":/usr/src/myapp -w...

bug

I couldn't really find a lot of docs on how to disable this, so I spend like an hour figuring this out. I also slightly changed how `reference.rs` determines the...

### Describe the Bug I have the following imports in my Rust code: ```rust #[wasm_bindgen(js_namespace = document, js_name = createTextNode)] pub(crate) fn text_node(t: &str) -> Node; #[wasm_bindgen(js_namespace = document, js_name...

bug

fixes #1818 This adds support for `rename_all = "camelCase"` to camelify names inside a block. Under the hood, I added support for a more general renaming system mimicking serde's renaming...

waiting for author

Starting with Rust 1.82 `reference-types` is always present in the `target_features` section. The problem is that JS bundlers like Webpack can't currently handle the `reference-types` proposal. So for now there...

### Describe the Bug The Hello World! example fails to run or even compile with Rust 1.82.0, presumably due to reference types. That example uses webpack with a configuration that...

bug

➜ moonbound git:(main) ✗ rustup target add wasm32-unknown-unknown info: downloading component 'rust-std' for 'wasm32-unknown-unknown' info: installing component 'rust-std' for 'wasm32-unknown-unknown' ➜ moonbound git:(main) ✗ cargo leptos watch Compiling cfg-if v1.0.0...

question

fixes #4207 `Array` itself is not a valid type because it requires one generic parameter. I replaced it with `number[]`. I chose `number` as the element type, because that's what...