-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Update wgpu
to v0.19.3 and unpin web-sys
.
#12247
Conversation
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
@@ -16,7 +16,7 @@ bevy_reflect = { path = "../bevy_reflect", version = "0.14.0-dev", features = [ | |||
bytemuck = "1" | |||
serde = "1.0" | |||
thiserror = "1.0" | |||
wgpu = { version = "0.19.1", default-features = false } | |||
wgpu = { version = "0.19.3", default-features = false } |
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.
We should just specify 0.19 here and elsewhere: the minor version is actually ignored by Cargo.
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.
0.19.0, 0.19.1, 0.19.2 have the problematic dependency. The 0.19.3 is a real dependency.
I assume by "ignored by Cargo" you mean that Cargo prefers the latest version by default. Because with the 0.19.3 requirement Cargo will never build with anything lower.
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.
Cargo does use the minor version. This is specifying at least 0.19.3.
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.
Ah, right yep :)
@cwfitzgerald, can you give this a look from the wgpu side? |
Previously discussed and added in #10163 |
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.
LGTM!
Thanks a ton for bringing this to our attention and preparing a patch :) |
This PR unpins `web-sys` so that unrelated projects that have `bevy_render` in their workspace can finally update their `web-sys`. More details in and fixes #12246. * Update `wgpu` from 0.19.1 to 0.19.3. * Remove the `web-sys` pin. * Update docs and wasm helper to remove the now-stale `--cfg=web_sys_unstable_apis` Rust flag. --- Updated `wgpu` to v0.19.3 and removed `web-sys` pin.
# Objective This PR unpins `web-sys` so that unrelated projects that have `bevy_render` in their workspace can finally update their `web-sys`. More details in and fixes bevyengine#12246. ## Solution * Update `wgpu` from 0.19.1 to 0.19.3. * Remove the `web-sys` pin. * Update docs and wasm helper to remove the now-stale `--cfg=web_sys_unstable_apis` Rust flag. --- ## Changelog Updated `wgpu` to v0.19.3 and removed `web-sys` pin.
This is no longer necessary since bevy 0.13.1.See bevyengine/bevy#12247 for further details.
Objective
This PR unpins
web-sys
so that unrelated projects that havebevy_render
in their workspace can finally update theirweb-sys
.More details in and fixes #12246.
Solution
wgpu
from 0.19.1 to 0.19.3.web-sys
pin.--cfg=web_sys_unstable_apis
Rust flag.Changelog
Updated
wgpu
to v0.19.3 and removedweb-sys
pin.