-
Notifications
You must be signed in to change notification settings - Fork 953
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
web: reimplement adapter|device_features
#3428
Conversation
I don't get why this would fail though |
In web_sys,the GpuSupportedFeatures interface has not been marked as InterfaceMember::Setlike(_) => {
log::warn!("Unsupported WebIDL Setlike interface member: {:?}", self);
Ok(())
} |
Referring to: rustwasm/wasm-bindgen#3060 |
Now it's integrated 👍 |
@jinleili now that the setlike implementation has been integrated, may you double check if you get everything fine, please? |
After patch web-sys, failed the same as before:
|
@gents83 I don't think there is a problem with your |
Version bumped today 👍 |
Best course of action would be adopting the new wasm-bindgen version, but I think the issue here is that our check (as written here) will never pass. |
GpuSupportedFeatures::dyn_into()
adapter|device_features
adapter|device_features
adapter|device_features
Already adapted to new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Checklist
cargo clippy
.RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown
if applicable.Connections
#3413
Description
This PR can fix the following panic issue:
Testing
Tested locally on Chrome Canary