-
Notifications
You must be signed in to change notification settings - Fork 19
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
Upgrade to windows-sys crate #20
Conversation
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.
Thanks for this! Some minor comments
Thank you for updating this dependency! Is there something one can do to move this forward? |
I'll jump in and get this through |
Hi @TroyNeubauer , since you lack the time and mind to maintain this project, could you add me as a co-contributor and publisher to this project? Or transfer to me? |
Open to do that at some point in the future. For the purposes of this PR, I would prefer you to respond to my feedback and then we can merge and release as usual |
Since the windows crate API is currently extremely unstable
Hi @TroyNeubauer, I have switched to |
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.
Thanks for your work on this. Almost there!
I still have some open questions about removing logging and memory safety.
What are the specific reasons for switching to windows-sys
? I see this as a significant readability decrease in our code since we have to handle low-level pointer details that the windows
crate previously handled for us
Because each version of the For example, the definition of pub struct HANDLE(pub isize); to pub struct HANDLE(pub *mut core::ffi::c_void); This is completely unacceptable. The
|
It still tracks the same version number though, right? i.e. |
Since unexpected issues might occur regardless of which crate we use, let's choose a crate that appears relatively reliable. Right? @thomaseizinger |
My primary interest in this PR is to reduce the number of different versions of I just realised that With this in mind, I support the use of |
Nice find! Seems reasonable enough |
Will release shortly after some testing |
Released as v0.5.0. Thanks again! |
No description provided.