Skip to content

Conversation

clubby789
Copy link
Contributor

@clubby789 clubby789 commented Feb 10, 2023

Fixes #107375

Any arguments passed to x following -- are removed and not parsed, instead passed down to subcommands (just the ones listed in the issue, not sure if more are needed). This does not remove the existing --args and --test-args behaviour, just extends it. It's also not documented in the help, not sure of the best way to format it.

r? @jyn514

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Feb 10, 2023
@jyn514
Copy link
Member

jyn514 commented Feb 10, 2023

I don't have time for reviews right now, sorry.

r? bootstrap

@rustbot rustbot assigned albertlarsan68 and unassigned jyn514 Feb 10, 2023
@albertlarsan68
Copy link
Member

This change would come almost for free with #108083, maybe you should add this change in the other PR.

@clubby789
Copy link
Contributor Author

clubby789 commented Feb 16, 2023

That's my plan for #107848 as well, I'll do that if you think the clap migration is likely to be accepted

EDIT: added in a new commit

@albertlarsan68
Copy link
Member

I think this still has value to land now.
Thanks for the PR!
@bors r+

@bors
Copy link
Collaborator

bors commented Feb 16, 2023

📌 Commit 8bd79fd has been approved by albertlarsan68

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 16, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 17, 2023
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#104068 (rustdoc: Add PartialOrd trait to doc comment explanation)
 - rust-lang#107489 (Implement partial support for non-lifetime binders)
 - rust-lang#107905 (Pass arguments to `x` subcommands with `--`)
 - rust-lang#108009 (Move some tests)
 - rust-lang#108086 (wasm: Register the `relaxed-simd` target feature)
 - rust-lang#108104 (don't into self)
 - rust-lang#108133 (Small cleanups around `EarlyBinder`)
 - rust-lang#108136 (Do not ICE on unmet trait alias impl bounds)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 42f2303 into rust-lang:master Feb 17, 2023
@rustbot rustbot added this to the 1.69.0 milestone Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bootstrap: Support -- as an alternative to --args and --test-args
5 participants