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

Update web-sys pin comment. #447

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Update web-sys pin comment. #447

merged 1 commit into from
Feb 19, 2024

Conversation

xStrom
Copy link
Member

@xStrom xStrom commented Feb 19, 2024

As we moved past web-sys 0.3.65 which the previous comment talked about I wondered if we can remove the pin. No we can't, because wgpu depends on an unstable API of web-sys that gets changed in patch versions. So I updated our comment to be more current and added a link to a recent relevant wgpu issue.

@xStrom xStrom added this pull request to the merge queue Feb 19, 2024
Copy link
Member

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

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

For clarity, the reason gfx-rs/wgpu#5224 (comment) doesn't apply to us is because we do require webgpu, and don't work with WebGL - meaning that we do unconditionally use the unstable features

# Note: pinning the exact dep here because 0.3.65 broke semver. Update this
# when revving wgpu.
# Note: pin web-sys to 0.3.67 because wgpu 0.19 depends on that exact version.
# Update this when revving wgpu. Remove pin when wgpu no longer demands it.
Copy link
Member

@DJMcNab DJMcNab Feb 19, 2024

Choose a reason for hiding this comment

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

I'm not sure that it will be trivial to work out when "no longer demands it" is true/correct. I don't have a better phrasing at the moment, though

Copy link
Member Author

Choose a reason for hiding this comment

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

It will definitely involve manual work. My goal was more so to point out that the issue isn't strictly from the web-sys crate but how wgpu uses it.

Merged via the queue into linebender:main with commit 21978f3 Feb 19, 2024
8 checks passed
@xStrom xStrom deleted the removepin branch February 19, 2024 14:12
simbleau pushed a commit that referenced this pull request Feb 20, 2024
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.

3 participants