-
Notifications
You must be signed in to change notification settings - Fork 183
Compiler errors when building project with wgpu-rs dependency #279
Comments
For the web backend you currently need to pass |
https://github.com/rukai/brawllib_rs/blob/88e466175e9236875f62ca7aae25b070d8708e35/examples/run_web_visualiser.sh#L7 I think I'm already doing that here right? |
Oh sorry, I missed that and just noticed the compiler errors complaining about missing functions. In that case it's probably breaking because of these patches https://github.com/gfx-rs/wgpu-rs/blob/master/Cargo.toml#L75 (it looks like a slightly older version of wasm-bindgen is being used than the one we need for WebGPU). Could you try patching wasm-bindgen in your project in the same way to use the latest |
Yes that fixes it, I made #280 to document this required workaround. |
282: Fix dynamic stencil values r=grovesNL a=kvark Fixes gfx-rs#279 Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
280: Add required wasm-bindgen patches to readme r=grovesNL a=rukai Fixes gfx-rs/wgpu-rs#279 Co-authored-by: Rukai <rubickent@gmail.com>
I don't know what is expected of the project at the moment, but figured I would report it anyway.
You should be able to reproduce by cloning this repo and running this script:
https://github.com/rukai/brawllib_rs/blob/master/examples/run_web_visualiser.sh
The text was updated successfully, but these errors were encountered: