Use windows-rs instead of winapi-rs#1938
Conversation
|
I'm very sceptical of adopting |
Agree with all of your points. I wanted to make a draft PR sooner than later to discuss theses kinds of problems. |
|
Another point, the direct dependency |
|
@clemenswasser Why did this get closed, especially now that the prebuilt API crate has just been released? GNU cross-compilation support is being worked on next, and while it might definitely be a good idea to let it all stabilize for a little while and evaluate major pain points with the new windows-rs crate, now seems a better time than ever to be on top of this one. |
Yes. I know. I am working on it. I closed this, because it is quite outdated and it's easier to start fresh. |
|
@clemenswasser Glad to hear that, good to know and thank you for still working on this! Otherwise I might have started doing the same in parallel. |
|
Since no-one else linked the new PR, then I guess I'll do so: #2057 |
We should probably adopt windows-rs since they are now the official bindings to Windows for Rust coming directly from Microsoft.
This PR is currently blocked by microsoft/windows-rs#81
This functionality is required in
src/platform_impl/windows/drop_handler.rs.Because of that this PR does not build and I can not test the changes I made.
Therefore I probably broke many things.
cargo fmthas been run on this branchcargo docbuilds successfullyCHANGELOG.mdif knowledge of this change could be valuable to users