Uh oh!
There was an error while loading. Please reload this page.
add/remove multiple toolchains - #986
Merged
Merged
Conversation
brson
commented
Mar 17, 2017
Contributor
Thanks @durka can you add test cases? I think there are test cases to crib off of in cli-v2.rs, and the tests can go in that file as well. |
ContributorAuthor
Test added. It passes locally on OSX, but wait for CI. |
durkaforce-pushed
the
add-rm-multiple
branch
5 times, most recently
from
March 17, 2017 20:52
967ca55 to
3aaf0acComparebrson
commented
Mar 17, 2017
Contributor
@bors r+ |
bors
commented
Mar 17, 2017
Contributor
📌 Commit a807244 has been approved by |
bors
commented
Mar 18, 2017
Contributor
bors
commented
Mar 18, 2017
Contributor
☀️ Test successful - status-appveyor, status-travis |
bors added a commit
to rust-lang/cargo
that referenced
this pull request
Jul 28, 2017
cargo install multiple crates rust-lang/rustup#986 for `cargo install` Revives #2601@pwoolcoc, replaces #3075@esclear, closes#2585 @kindlychung @cyplo Avoids the sticking point of the previous two PRs (multiple registry updates) by threading through a first-run boolean flag to decide whether `select_pkg` needs to call `source.update()`. There is still the issue that flags such as `--git` and `--vers` are "global" to the multiple packages you may be installing. The workaround is just to run `cargo install` separately. In the future we could add syntax like `cargo install foo=1.0 bar=2.5 quux=git://github.com/durka/quux#dev-branch` or something.
This file contains hidden or 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
Sign up for freeto 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.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Teaches the
toolchainsubcommand to accept multiple arguments for toolchains to add or remove.Depends on #968.
Fixes#976.