Switch from winapi to windows-sys#634
Conversation
|
Currently, this avoids actually depending on |
|
EDIT: never mind, that won't work because |
ChrisDenton
left a comment
There was a problem hiding this comment.
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 |
…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.