-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3312 from hi-rustin/rustin-patch-master-to-stable
Merge master to stable
- Loading branch information
Showing
11 changed files
with
91 additions
and
68 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
bin.name = "rustup" | ||
args = ["-v"] | ||
status.code = 1 | ||
stdout = """ | ||
rustup [..] | ||
The Rust toolchain installer | ||
USAGE: | ||
rustup[EXE] [OPTIONS] [+toolchain] <SUBCOMMAND> | ||
ARGS: | ||
<+toolchain> release channel (e.g. +stable) or custom toolchain to set override | ||
OPTIONS: | ||
-v, --verbose Enable verbose output | ||
-q, --quiet Disable progress output | ||
-h, --help Print help information | ||
-V, --version Print version information | ||
SUBCOMMANDS: | ||
show Show the active and installed toolchains or profiles | ||
update Update Rust toolchains and rustup | ||
check Check for updates to Rust toolchains and rustup | ||
default Set the default toolchain | ||
toolchain Modify or query the installed toolchains | ||
target Modify a toolchain's supported targets | ||
component Modify a toolchain's installed components | ||
override Modify directory toolchain overrides | ||
run Run a command with an environment configured for a given toolchain | ||
which Display which binary will be run for a given command | ||
doc Open the documentation for the current toolchain | ||
... | ||
self Modify the rustup installation | ||
set Alter rustup settings | ||
completions Generate tab-completion scripts for your shell | ||
help Print this message or the help of the given subcommand(s) | ||
DISCUSSION: | ||
Rustup installs The Rust Programming Language from the official | ||
release channels, enabling you to easily switch between stable, | ||
beta, and nightly compilers and keep them updated. It makes | ||
cross-compiling simpler with binary builds of the standard library | ||
for common platforms. | ||
If you are new to Rust consider running `rustup doc --book` to | ||
learn Rust. | ||
""" | ||
stderr = "" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
bin.name = "rustup" | ||
args = ["random"] | ||
status.code = 1 | ||
stdout = "" | ||
stderr = """ | ||
error: Invalid value \"random\" for '<+toolchain>': \"random\" is not a valid subcommand, so it was interpreted as a toolchain name, but it is also invalid. To override the toolchain using the 'rustup +toolchain' syntax, make sure to prefix the toolchain override with a '+' | ||
For more information try --help | ||
""" |
This file contains 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
This file contains 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