Skip to content
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

Windows: fix the raw-win-handle feature #2233

Closed
wants to merge 2 commits into from

Conversation

sidit77
Copy link

@sidit77 sidit77 commented Jul 25, 2022

The raw-win-handle feature is currently broken on windows because it was not properly updated to raw-window-handle 0.4 when that dependency was bumped.

Copy link
Collaborator

@jneem jneem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It looks like we really do need to be running this feature in CI -- I'll try to make a PR for that tomorrow. In the meantime, just a minor quibble about the comment...

as *mut core::ffi::c_void
},
..WindowsHandle::empty()
// Using empty + set fields instead Win32Handle{...} to shut up a unexplainable compiler error
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't say it's "unexplainable." Win32Handle is marked as #[non_exhaustive], which is explained here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that explains it. Thanks.

@jneem
Copy link
Collaborator

jneem commented Aug 2, 2022

Thanks again for the PR! But since #2238 fixes this and also bumps raw-window-handle to 0.5, I'm going to close this one and merge that one instead.

@jneem jneem closed this Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants