chore: add missing windows-sys features back#12563
Merged
bors merged 1 commit intorust-lang:masterfrom Aug 26, 2023
Merged
Conversation
Collaborator
|
r? @epage (rustbot has picked a reviewer for you, use r? to override) |
This was referenced Aug 26, 2023
Contributor
|
@bors r+ |
Contributor
Contributor
Contributor
|
☀️ Test successful - checks-actions |
bors
added a commit
that referenced
this pull request
Aug 26, 2023
[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.
Contributor
|
There can be ping for me, as author for that pr :-( So, there no test that crates build independent. |
Member
Author
|
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! |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Aug 29, 2023
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.tomlregardless features are already unified from dependencies.I've manually checked all windows-sys API usages in each workspace member and only
cargocrate 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.0branch (beta) for0.74.0crate release [beta-1.73.0] add missingwindows-sysfeatures back #12564rust-1.72.0branch (stable) for0.73.1crate release [stable-1.72.0] add missingwindows-sysfeatures back #12565