mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00

Replace `winapi` with `windows-sys` crate. ### What does this PR try to resolve? replace `winapi` with `windows-sys` crate. It's officially maintained. ### How should we test and review this PR? I just do the replacement of API. I think it is quite clear. And I found a `cfg` for `windows` may miss checked error. ### Additional information No one.