-
Notifications
You must be signed in to change notification settings - Fork 933
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
[wgpu-hal] gles/wgl: Migrate from ancient/unmaintained winapi
to windows-rs
#6006
Conversation
7437069
to
04d45c0
Compare
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.
Great stuff, thank you so much for taking care of the windows-rs migration everywhere!
Imho good to go after the workspace dependency nit (see comment)
04d45c0
to
264f81c
Compare
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.
See comment above
I suspect this windows version dance is going to be a recurring theme in our future. That is one upside off using a years-abandoned crate, nothing ever changes 😛 Anywho I think we (the maintainers) should figure out what the viable paths forward are that satisfy mozilla-central and wgpu's external users and then clearly communicate that, as I don't want Marijn to do duplicate work and I don't want this to explode mozilla-central.
|
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.
No problem for me to upgrade to windows 0.58.
@cwfitzgerald since we've made the resolution to just go ahead and use |
winapi
to windows-rs
winapi
to windows-rs
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.
Great stuff! Got the all clear to merge from the moz team.
Ready to land, just needs merge conflicts resolved |
264f81c
to
3c8785b
Compare
3c8785b
to
e3a7c6c
Compare
Connections
Contributes to #3207
Same as PR #5956 but for GLES/WGL, instead of the Dx12 backend.
Description
Replaces ancient, deprecated, unmaintained
winapi
crate withwindows-rs
. The full justification is in the linked issue and PR above.Testing
Checklist
cargo fmt
.cargo clippy
. If applicable, add:--target wasm32-unknown-unknown
--target wasm32-unknown-emscripten
cargo xtask test
to run tests.CHANGELOG.md
. See simple instructions inside file.