-
Notifications
You must be signed in to change notification settings - Fork 246
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
Switch from winapi
to windows-sys
#634
Conversation
Currently, this avoids actually depending on |
EDIT: never mind, that won't work because |
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.
Looks good to me. Just one nit.
It may be a good idea to remove the feature and make the assertion unconditional - it's purely compile-time, and since we are comparing to the auto-generated bindings, we always have access to the original definitions. Either a feature in windows-bindgen to generate |
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.
Only a pair of nits.
…d instruction to run riddle.
Thanks for rebasing! Finally figured out what busted CI so I'm gonna merge this through finally. |
FWIW, this breaks the tier-3 backtrace-rs/src/backtrace/dbghelp32.rs Line 222 in 38d49aa
PR rust-lang/rust#112527 could be relevant here. |
Tier 3 targets are allowed to be broken. If they weren't, I wouldn't be able to even land this PR. If someone wants them to be supported, they need to start maintaining them. https://doc.rust-lang.org/rustc/target-tier-policy.html |
And the appropriate venue for this is not in the tail end of a PR, but a new issue. |
Sorry, the last time I dealt with a similar issue (see #572) the fix was straightforward, but this is somewhat non-trivial as That said, this is a good opportunity to remove this unsupported Microsoft target from my toolchain. If anyone fancies it, they can fix this, but it won't be me this time. |
This is a rebase of #494, as it was mentioned in #537 that there was potential interest in such a thing.