wasm-bindgen
wasm-bindgen copied to clipboard
Facilitating high-level interactions between Wasm modules and JavaScript
### Summary Why are futures generated with wasm-bindgen not `Send`? Is there a way to opt into `Send`ness? Currently, if one wants to use `async-trait` for wasm, one has to...
Hi. I wanted to propose some changes to the wasm test runner. I'm currently working on some internal projects that are using `yew` frontend framework and I came across some...
that happens when I import a package generated by wasm-pack
### Motivation Instead of manually writing custom typings without syntax validation or highlighting like this ```rust #[cfg(target_arch = "wasm32")] #[wasm_bindgen(typescript_custom_section)] const GAME_ACTION: &'static str = r#" export type GameAction =...
I know that you can write your own test runners, but could you also do this: ```rust #[wasm_bindgen_bench] fn my_benchmark() { // ... } ``` ? --- The impetus here...
### Describe the Bug Every now and then when I am running `wasm-bindgen` it just crashes. I am using an M1 Mac which might be another cause for this issue....
This is a potential solution to issue #2496. The constructors `new_with_args` and `new_no_args` will catch exceptions that are caused by syntax errors or similar problem. This change would require to...
### Motivation To cover all the integers in the Rust standard library, we should have an implementation for these two missing types `u128` and `i128`. We want to implement at...
Suppose I have the following: ```rust #[wasm_bindgen(module = "/js/some-rollup.js")] extern "C" { // ... various stuff here ... } ``` And `some-rolleup.js` is a JS rollup that ends in the...
### Summary Could the main contributors @alexcrichton & @fitzgen be able to say a few words around the general plans / status of the project? ### Additional Details It has...