Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement rustup CLI #136
Conversation
brson
added some commits
Mar 18, 2016
brson
force-pushed the
brson:rustup
branch
from
1b265dc
to
5f93275
Mar 20, 2016
This comment has been minimized.
This comment has been minimized.
|
Oh man I'm excited! Can you remind me what the self update workflow looks like? If this is merged and published, and then I |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton Yes, when this lands then after the next self update everybody will have a |
This comment has been minimized.
This comment has been minimized.
|
r=me |
brson
added a commit
that referenced
this pull request
Mar 21, 2016
brson
merged commit 11505ef
into
rust-lang:master
Mar 21, 2016
This comment has been minimized.
This comment has been minimized.
|
There's a lot more to do here and parts of the CLI are going to change, but I'm merging this to get the forward progress. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
brson commentedMar 20, 2016
This adds the
rustupcommand as described in #129.Major changes:
rustupupdates all tracked channels and self-updates.--copy-local,--link localand--installeroptionsare gone. There is just
rustup channel link, which covers themost common reason for creating custom toolchains.
add-target,list-targets, andremove-targetsare all underthe
targetsubcommand, and all operate on the current toolchaininstead of needing to specify it explicitly.
overridesubcommand.toolchainsubcommand, but I decided
multirust updateandmultirust update nightlywere useful enough to stay its own subcommand.multirust-rsslightly: both the update status and channel revision are displayed
in the same place.
successful updates to make it more impactful.
Note there are several ways to update now:
rustupupdateseverything,
rustup updateupdates the current toolchain, andrustup update [toolchain]updates a specific toolchain.--helptext is still missing.Next steps are:
multirust-setuptorustup-setupmultirust~/.rustup