Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump wasm-bindgen to 0.2.81 #2795

Closed
wants to merge 1 commit into from
Closed

Conversation

relrelb
Copy link

@relrelb relrelb commented Jun 21, 2022

Also bump the js-sys, web-sys, and wasm-bindgen-futures crates to
their latest versions.

Connections
Not that I'm aware of.

Description
Some web-sys features were removed/renamed in rustwasm/wasm-bindgen#2906. Resolve them case-by-case - Some features were unused in wgpu, so I removed them. Some features needed to be renamed to match wasm-bindgen.

Testing
Checked that cargo check runs successfully after this change. Didn't run further tests.

Also bump the js-sys, web-sys, and wasm-bindgen-futures crates to
their latest versions.
Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can you update the https://github.com/gfx-rs/wgpu/wiki/Running-on-the-Web-with-WebGPU-and-WebGL page with the new wasm-bindgen version?

@cwfitzgerald
Copy link
Member

Got CI issues

@relrelb
Copy link
Author

relrelb commented Jun 21, 2022

Sorry, my bad. I didn't checked the wasm32-unknown-unknown target, and now there seems to be many non-trivial changes, and some of them I'm not sure how to fix properly.

@cwfitzgerald
Copy link
Member

Closed by #2813, thank you for the PR though!

@relrelb relrelb deleted the wasm_bindgen branch June 28, 2022 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants