-
Notifications
You must be signed in to change notification settings - Fork 735
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
Follow up to switch to windows-sys #1558
Comments
These fixes have now been published as part of the 0.35.0 release: https://github.com/microsoft/windows-rs/releases/tag/0.35.0 |
This microsoft/windows-rs#1636 might be a bit of problem, as Mio supports older rustc versions. Does windows-sys give any MSRV guarantees? |
It's currently set to 1.56: Previously it was set to 1.46.0, which should still work in theory but cargo doesn't like it when the version is older than what Rust 2021 supports. |
This issue is now blocked on #1562. |
0.36.0 has been released and reverts the Rust 2021 adoption meaning that |
@Thomasdezeeuw in that case I think we should put this back on the table |
Updating to 0.36 in #1569. I couldn't find the |
Which one in particular? I see a bunch have been added. Adding @riverar who may have further insights. |
I just realised GitHub doesn't have partial search, window-sys actually has all the constants Mio need. Sorry about that |
After #1688 all that is left are some AFD related types and constants (see updated issue description), so looking pretty good. |
Closing this as done, we can switch to using AFD constants from windows-sys if/when those become available, no point in keeping this open. |
Happy to add those now; just need a pointer to what's missing/needed. Is it just the |
Ah, I see the others. Will be interesting to get these into metadata, given they're undocumented/"private" structures.
|
I suspected as much. I'm happy to keep the definitions in Mio as well. |
Based on #1556, in particular this comment: #1556 (review).
SIO_BSP_*
constants, Various Winsock constants missing microsoft/win32metadata#844.ReplaceTracked in Migrate to I/O safety traits #1588.Handle
withstd::os::windows::io::OwnedHandle
(once stable).AF_INET(6)
constants, seeAF_INET
andAF_INET6
should not be exclusive toWin32::NetworkManagement::IpHelper
microsoft/win32metadata#845.AfdPollHandleInfo
AfdPollInfo
POLL_
constantsThe text was updated successfully, but these errors were encountered: