-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
chore: add missing windows-sys
features back
#12563
Conversation
r? @epage (rustbot has picked a reviewer for you, use r? to override) |
@bors r+ |
☀️ Test successful - checks-actions |
[stable-1.72.0] add missing `windows-sys` features back Stable backports: - <#12563> In order to make CI pass, the following PRs are also cherry-picked: - b4a26b0 from #12475 - c508cb6 from #12538 - 43c253e from #12351 - 689defd from #12500 --- Fixes <#12562> This won't affect Rust releases, i.e. no 1.72.1 will happen. We do this only for release `cargo` crate.
There can be ping for me, as author for that pr :-( So, there no test that crates build independent. |
Hey @klensy. Sorry I should have pinged you. No worries, that's a good sign for the entire ecosystem — Cargo now suffers from the same pain as other projects using workspaces have for a long while 😬. We'll start addressing that! |
Update cargo 18 commits in 925280f028db3a322935e040719a0754703947cf..96fe1c9e1aecd8f57063e3753969bb6418fd2fd5 2023-08-25 21:16:44 +0000 to 2023-08-29 20:10:34 +0000 - fix(lints): Fail when overriding inherited lints (rust-lang/cargo#12584) - cargo install: suggest --git when package name is url (rust-lang/cargo#12575) - chore: remove unstable-options for logout (rust-lang/cargo#12588) - Improve logout message for asymmetric tokens (rust-lang/cargo#12587) - fix(update): Remove references to -p in help (rust-lang/cargo#12586) - fix(update): Make `-p` more convenient by being positional (rust-lang/cargo#12545) - Set tracing target for networking messages. (rust-lang/cargo#12582) - Retry docs (rust-lang/cargo#12583) - feat(resolver): **Very** preliminary MSRV resolver support (rust-lang/cargo#12560) - Update git2 (rust-lang/cargo#12580) - Explain how `version` works for `git` dependencies (rust-lang/cargo#12270) - Improve deserialization errors of untagged enums (rust-lang/cargo#12574) - Add support for `target.'cfg(..)'.linker` (rust-lang/cargo#12535) - Improve resolver version mismatch warning (rust-lang/cargo#12573) - Stabilize `--keep-going` (rust-lang/cargo#12568) - Define {{command}} for use in src/doc/man/includes (rust-lang/cargo#12570) - Update serde (rust-lang/cargo#12569) - chore: add missing `windows-sys` features back (rust-lang/cargo#12563) r? ghost
What does this PR try to resolve?
Fixes #12562
This is kinda a revert of #12176. I feel like it's better declaring all features direct in use in
Cargo.toml
regardless features are already unified from dependencies.I've manually checked all windows-sys API usages in each workspace member and only
cargo
crate needs these being added.How should we test and review this PR?
Build them on your windows machine (I don't have one and too lazy to create a VM at this moment 😜)
Additional information
Have some long-term plans in mind #12562 (comment).
I believe backports is needed.
rust-1.73.0
branch (beta) for0.74.0
crate release [beta-1.73.0] add missingwindows-sys
features back #12564rust-1.72.0
branch (stable) for0.73.1
crate release [stable-1.72.0] add missingwindows-sys
features back #12565