-
Notifications
You must be signed in to change notification settings - Fork 54
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
Update windows to 0.58 #453
Conversation
@BenjaminBrienen Thank you for your contribution. Unfortunately, this needs more work. The accesskit_windows crate doesn't compile. Also, looking at the diff of Cargo.lock, how did libloading's windows_targets dependency end up getting downgraded? |
No idea, haha! I'll fix the compile errors soon. |
I'm trying to figure out what's going wrong with the implement macro, so I used
|
Hello @BenjaminBrienen, Looking at the changelog for the windows crate, I see that there is at least one breaking change in the COM interface authoring process. See microsoft/windows-rs#3065. |
I took a step back to look at the compile error that @mwcampbell mentioned, and I'm not actually getting one:
|
@BenjaminBrienen You need to compile the accesskit_windows crate, not the windows one. |
I need some help with how to fix the error with |
Relevant upstream issue: microsoft/windows-rs#3093 If we are sure that our use of |
It compiles, but the test fails. I think I'm a bit out of my depth. |
Tests pass on my machine. We always recommend to launch them from a regular command line window, otherwise they may fail. I can see these warnings though:
Also, I don't think we need to change the public API and expose |
The hello_world example needs to use Adapter::new, so how should we handle that interface? |
I think |
And what about the handler parameter? It expects If my assumption is correct, then this branch should be ready for another round of review. |
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.
Remember that other parts of the project depend on accesskit_windows. Right now accesskit_winit is broken.
I'm not sure if |
The whole crate builds for me now. Sorry for not checking before. |
@BenjaminBrienen I have pushed further changes to your branch, I hope it is OK with you? @mwcampbell The only open question for me now is what do we want to do with the action handler in the example. |
Awesome, thanks for the help! |
In the example, I think manually implementing Also, because the change to windows-rs's |
5361db5
to
9448dbb
Compare
We're trying something different this time to work around the limitations of the tool we use to manage releases. As part of this I had to rebase your work @BenjaminBrienen. Your name disappeared from the second commit because of this. Sorry for hijacking your work, this is not my intention. |
It doesn't bother me. 😄 Recognition isn't why I want to help! Thanks for bringing it to the finish line. |
No description provided.