Skip to content

Add rustup component subcommand #658

Closed
@brson

Description

@brson

The generalized version of rustup target. This command will allow the rust-src package to be installed once rust-lang-deprecated/rust-buildbot#102 lands. One complication here is that the rust-src package has a target equal to "*" in the manifests.

I think the way this might work is rustup component add defaults to the host target, which can resolve to "*". That way you can write rustup component add rust-src.

The command might have the same set of subcommands as rustup target, and e.g. add might look like

rustup.exe-component-add
Add a component to a Rust toolchain

USAGE:
    rustup.exe component add [OPTIONS] <component>

FLAGS:
    -h, --help    Prints help information

OPTIONS:
        --toolchain <toolchain>
        --target <target>

ARGS:
    <target>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions