Skip to content
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

Add command aliases from Cargo to x.py commands #71905

Merged
merged 1 commit into from
May 6, 2020

Conversation

mibac138
Copy link
Contributor

@mibac138 mibac138 commented May 4, 2020

Fixes #71357

@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 4, 2020
@Mark-Simulacrum
Copy link
Member

I'm not opposed to this though not really a fan myself, but it's a minimal patch set so @bors r+ rollup

@bors
Copy link
Contributor

bors commented May 5, 2020

📌 Commit b83853d has been approved by Mark-Simulacrum

@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 May 5, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 5, 2020
…crum

Add command aliases from Cargo to x.py commands

Fixes rust-lang#71357
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 5, 2020
…crum

Add command aliases from Cargo to x.py commands

Fixes rust-lang#71357
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 5, 2020
…crum

Add command aliases from Cargo to x.py commands

Fixes rust-lang#71357
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 5, 2020
…crum

Add command aliases from Cargo to x.py commands

Fixes rust-lang#71357
bors added a commit to rust-lang-ci/rust that referenced this pull request May 6, 2020
Rollup of 6 pull requests

Successful merges:

 - rust-lang#71510 (Btreemap iter intertwined)
 - rust-lang#71727 (SipHasher with keys initialized to 0 should just use new())
 - rust-lang#71889 (Explain our RwLock implementation)
 - rust-lang#71905 (Add command aliases from Cargo to x.py commands)
 - rust-lang#71914 (Backport 1.43.1 release notes to master)
 - rust-lang#71921 (explain the types used in the open64 call)

Failed merges:

r? @ghost
@bors bors merged commit 68130dd into rust-lang:master May 6, 2020
@mibac138 mibac138 deleted the x-cmd-alias branch May 6, 2020 20:27
@@ -106,18 +106,18 @@ impl Flags {
Usage: x.py <subcommand> [options] [<paths>...]

Subcommands:
build Compile either the compiler or libraries
check Compile either the compiler or libraries, using cargo check
build, b Compile either the compiler or libraries
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't cargo does not have the additional , b?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it doesn't, but I think it should. I added it to promote discoverability.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can promote discoverability with (b)uild too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it doesn't, but I think it should. I added it to promote discoverability.

Let me go add it.

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x.py feature parity with cargo (alias)
5 participants