-
I'm working on getting wgpu running on the web for my tutorial, but I'm not able to get wasm-bindgen working. I tested hello-triangle as well as cube with the same results. wasm-bindgen --version: 0.2.76 I didn't post this as an issue because I'm pretty sure it's a configuration issue on my end. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Could you post the exact log or output? |
Beta Was this translation helpful? Give feedback.
-
So the problem was that cargo was pulling the latest release of wasm-bindgen. The fix was to use Changing wgpu-hal to specify 0.2.76 might fix it as well. I haven't checked. |
Beta Was this translation helpful? Give feedback.
So the problem was that cargo was pulling the latest release of wasm-bindgen. The fix was to use
wasm-bindgen = "=0.2.76"
in the wgpu Cargo.toml to force cargo to use 0.2.76.Changing wgpu-hal to specify 0.2.76 might fix it as well. I haven't checked.