-
Notifications
You must be signed in to change notification settings - Fork 74
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
Rebase Windows support onto RawHandle instead of File #31
Conversation
Nice! Should I merge #30 first? |
Adding more raw winapi calls is not great, but looks like there is no other way. |
Yes, #30 is simple and safe while this is bound to get more involved.
Well, I could actually use A different maintainability/clean-up change I could follow-up with would be to replace the manual FFI declarations by usage of the |
The whole reason this fork exist is to remove the |
This allows mapping anything that implements AsRawHandle including the types of async-std.
Thanks again for your work! Do you plan any other changes or can I publish a new release? |
I am currently pondering whether the assertions in the |
This is a follow-up to #30 and allows mapping anything that implements
AsRawHandle
including the types ofasync-std
.I took the Win32 API usage from Rust's standard library and thereby adjusted the existing structure declarations to match.
I did test this under Wine using the
async-std
cat example as in #30 but I have to admit to not feeling particularly confident on this as Win32 is not a platform I regularly target.