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

`TextDecoder` in Safari has a limitation that causes it to throw `RangeError` after decoding more than 2GiB of data. This causes long running wasm programs that need to use `TextDecoder`...

This is a no-change PR to test whether the CI still builds the latest `main` version.

### Motivation From this Rust program: ```rust use wasm_bindgen::prelude::*; #[wasm_bindgen] pub enum MyEnum { A, B, } #[wasm_bindgen] pub fn foo() -> Vec { unimplemented!() } #[wasm_bindgen] pub fn bar(values:...

enhancement

### Describe the Bug I have a WASM project that is using [prost-wkt-types](https://github.com/fdeantoni/prost-wkt). After switching `rustc` from 1.84 to 1.85 `wasm-bindgen` started failing with: ``` thread 'main' panicked at /build/wasm-bindgen-cli-0.2.100-vendor/wasm-bindgen-wasm-interpreter-0.2.100/src/lib.rs:245:21:...

bug

### Summary I wonder why wasm-bindgen has no **Cargo.lock** file added to the releases while https://github.com/rustwasm/wasm-pack/tree/v0.12.0 does that.

question

### Summary I can't compile my project in its web version, my code seems to be fine but I get an error when I run **wasm-bindgen** to make it usable...

question

### Motivation Currently wasm-bindgen allocates a stack on the heap in `__wbindgen_start` for each additional thread, and the new thread's stack pointer will usually end up somewhere close to the...

enhancement

### Motivation The current implementation of `#[wasm_bindgen(typescript_custom_section)]` requires TypeScript code to be embedded directly as a string within the Rust source code. For example: ```rust #[wasm_bindgen(typescript_custom_section)] const TS_APPEND_CONTENT: &'static str...

enhancement

### Motivation It would be nice if the loaded WebAssembly module was accessible to other JS code when building with the `no-bundler` or `web` targets. Right now only the WebAssembly...

enhancement