forked from rust-lang/rustup
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds the `rustup` command as described in rust-lang#129. Major changes: * A bare `rustup` updates all tracked channels and self-updates. * All the `--copy-local`, `--link local` and `--installer` options are gone. There is just `rustup channel link`, which covers the most common reason for creating custom toolchains. * `add-target`, `list-targets`, and `remove-targets` are all under the `target` subcommand, and all operate on the current toolchain instead of needing to specify it explicitly. * Override comands are all under the `override` subcommand. * Lesser commands for modifying toolchains are under the `toolchain` subcommand, but I decided `multirust update` and `multirust update nightly` were useful enough to stay its own subcommand. * The UI for updating all channels is changed from `multirust-rs` slightly: both the update status and channel revision are displayed in the same place. * I've removed green from 'info' logging and used it only for successful updates to make it more impactful. Note there are several ways to update now: `rustup` updates everything, `rustup update` updates the current toolchain, and `rustup update [toolchain]` updates a specific toolchain.
- Loading branch information
Showing
14 changed files
with
723 additions
and
201 deletions.
There are no files selected for viewing
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
Oops, something went wrong.