Conversation
|
Note that this PR only changes the |
|
I wasn’t one of the person asking for it, but still, it looks absolutely amazing, thanks for that ! To avoid recompiling the bindings all the time when building the crate, we could add a recommandation to move them to a sub-crate only for that, for example parking_lot would introduce « parking_lot_bindings_windows » and simply save the bindings in this new crate’s lib.rs. Are the bindings always windows-sys’ style or is it possible to have them windows’ style in the future (I’m thinking about COM APIs), with added traits and all (probably not for this MR though) ? |
|
This looks great, thanks for working on this! It would be great if, as @poliorcetics suggests, there would be a way to bring in the safe bindings at a similar level of granularity. |
|
Yes, I just need to move some of the core types needed to support the |
|
Awesome, looking forward to it! |
|
👍 for having this on |
https://kennykerr.ca/rust-getting-started/standalone-code-generation.html
Fixes: #1720