Skip to content

specify required components in rust-toolchain file #2350

@matthiaskrgr

Description

@matthiaskrgr

I wanted to pin clippy to specific nightly version (which will be updated every time the subtree of the rustc repo is synced into the clippy standalone repo) to make sure a cargo build will always be able to build clippy.

I wanted to use a rust-toolchain file but it turns out, rustup only downloads default components for the specified version.
Clippy needs the rustc-dev component but there is no way to tell rustup to install that via rust-toolchain rendering it pretty useless for that use case. :(

It would be useful to be able to specify required components in the roolchain file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions