-
Notifications
You must be signed in to change notification settings - Fork 741
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 windows-sys
0.52
#1725
Update windows-sys
0.52
#1725
Conversation
@kennykerr it seems it contains breaking changes |
Yes, there were some WDK changes. I can fix those but I just noticed that |
We'll have to discuss the MSRV, as we need to support Tokio TLS, which has, or had, a MSRV of 1.46 |
I pushed the WDK changes. The Anyway, I'll probably just close this PR and you can revisit when you're ready to bump your MSRV. |
@Thomasdezeeuw just FYI the Lines 21 to 28 in f6a20da
|
Is there a location msrv is actively being discussed? I'd love to see this change be effected. |
Not actively any more. The problem is Tokio LTS, which doesn't support windows-sys's MSRV. If I recall correctly it's supported until March 2024 after which we can update to windows-sys v0.52's MSRV. Some related discussions: |
Hm. This PR is purely import-based, with no logic/actual type changes. Would a PR be accepted in the form of a build script which configures which windows-sys to pull in? 0.52 if >= Rust 1.56, else 0.48? That'd prevent de-duplication of windows-sys in users' trees while also not being a breaking change. |
No, v0.48 -> v0.52 has breaking changes, see the failing CI: https://github.com/tokio-rs/mio/actions/runs/6905918873.
I don't really want to complicate Mio further. I've started a thread on Discord to discuss this further: https://discord.com/channels/500028886025895936/627986131702644744/1181530156528041984. |
Got it. Thanks for all the answers. |
Updates off a yanked version of zerocopy, fixing the failing deny CI. Bites the bullet on windows-sys 0.52. While I was hoping to update everything at once, unfortunately tokio won't update until March (see tokio-rs/mio#1725). I don't want to withold these updates for that long.
This is the first update to the
windows-sys
crate in 8 months. https://github.com/microsoft/windows-rs/releases/tag/0.52.0