-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
component: Support installation/removal of
component-target
In order to reduce the surprise available when someone expects to be able to take output of `rustup component list` and use it as input to `rustup component add` or `rustup component remove` we now support creation of `Component` objects by attempting to split it on '-' and see if we get a component name and valid full target triple. Fixes: #2057
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 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