-
Notifications
You must be signed in to change notification settings - Fork 965
Open
Milestone
Description
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
Alexendoo, 0f-0b and godvino