Skip to content

Add support for install --profile empty #2970

Description

@jyn514

Problem you are trying to solve

Bootstrap in rust-lang/rust wants to have a version of rustfmt that's different than the bootstrap compiler toolchain. Right now, to manage it using rustup, we'd have to install a full duplicate toolchain with rustup install --profile minimal. It would be nice to only install the rustfmt component and nothing else.

Solution you'd like

@kinnison and @rbtcollins on Discord agreed to rustup toolchain install --profile empty, which would mean "register this toolchain with rustup" (and I guess download the manifest?), "but don't install any components". That would allow running rustup toolchain install nightly-2022-02-23 --profile empty --component rustfmt in bootstrap.

Notes

cc rust-lang/rust#95136

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions