-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Support --filter-platform=host for cargo metadata #9423 #16312
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
Support --filter-platform=host for cargo metadata #9423 #16312
Conversation
7c879ff to
dcd1680
Compare
|
r? @weihanglo rustbot has assigned @weihanglo. Use |
| ) | ||
| .with_stdout_data( | ||
| str. | ||
| The value `host-tuple` can be used to use the host target triple. |
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.
Maybe follow the existing doc? https://doc.rust-lang.org/cargo/commands/cargo-build.html#compilation-options
| The value `host-tuple` can be used to use the host target triple. | |
| A literal `"host-tuple"` can be used, which will internally be substituted by the host’s target. |
Signed-off-by: Ojus Chugh <ojuschugh@gmail.com>
Signed-off-by: Ojus Chugh <ojuschugh@gmail.com>
Signed-off-by: Ojus Chugh <ojuschugh@gmail.com>
c15640a to
6fffcee
Compare
Update cargo submodule 14 commits in 2a7c4960677971f88458b0f8b461a866836dff59..bd979347d814dfe03bba124165dbce9554d0b4d8 2025-11-25 19:58:07 +0000 to 2025-12-02 16:03:50 +0000 - fix(completion): Put host-tuple before actual tuples (rust-lang/cargo#16327) - fix(lints): use plural form correctly (rust-lang/cargo#16324) - fix(completions): include `all` in `cargo tree --target` candidates (rust-lang/cargo#16322) - fix(lints): show lint error number (rust-lang/cargo#16320) - chore(deps): update compatible (rust-lang/cargo#16318) - chore(deps): update crate-ci/typos action to v1.40.0 (rust-lang/cargo#16316) - Do not lock the artifact-dir for check builds + fix uplifting (rust-lang/cargo#16307) - Properly validate crate names in `cargo install` (rust-lang/cargo#16314) - Support --filter-platform=host for cargo metadata rust-lang/cargo#9423 (rust-lang/cargo#16312) - Update to mdbook 0.5 (rust-lang/cargo#16292) - refactor(clean): Better divide old / new layout (rust-lang/cargo#16304) - update: silent failure on non-matching package specs with --breaking (rust-lang/cargo#16276) - fix(log): break timing-info message to multiple (rust-lang/cargo#16303) - fix(clean): Clean hosts builds with new layout (rust-lang/cargo#16300)
This PR fixes this issue-: #9423