-
Notifications
You must be signed in to change notification settings - Fork 739
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
backport switch to winapi 0.3 onto mio 0.6 #1629
Conversation
The entire CI for v0.6 is too old to run, all the images are no longer available. So either we need to port the CI to something that works or someone with a Window machine needs to manually test this. |
I've tested ( Output
|
FWIW @Nilstrieb also came up with a strategy that might let us keep old winapi 0.2 working, so maybe we won't even need this. |
0.6 is old, I would not bother updating it. This is especially true because CI is broken, etc. |
@carllerche the problem is that the rustc test suite insists on iron remaining buildable. iron depends on mio 0.6. And rust-lang/rust#102513 as-is makes mio 0.6 fail to build. However rust-lang/rust#104429 hopefully fixes that. |
If iron is the problem, can't it upgrade to Mio v0.7/v0.8? |
Iron depends on mio via tokio, and I am told porting to newer tokio would be a lot of work. |
Iron is built on hyper 0.12 and thus tokio 0.1, and it's also basically unmaintained as far as I am aware. |
Also look at the Iron commits, the last ones are from late 2019. So, I'm not sure it's worth the effort of maintaining Mio v0.6 any longer if the project depending on it aren't maintained either... |
Iron is in the "must always build" list of things tested by rustc CI though.
|
I'm going to close this since it's it seems no longer needed. |
Needed for this to still build after rust-lang/rust#102513.
Cc @Thomasdezeeuw @Noah-Kennedy
This is a direct port of 756bf28.
I have zero familiarity with mio, winapi, and the Windows APIs... so I hope this makes sense.^^ I don't even have a Windows machine to build-test this; I used
cargo miri
since that is able to do check-builds for foreign targets.