Stream: t-compiler/help

Topic: rustup component for custom rustc

Tshepang Lekhonkhobe (Apr 18 2020 at 20:14, on Zulip):
❯ cargo fmt
error: 'cargo-fmt' is not installed for the toolchain 'dev'
To install, run `rustup component add rustfmt --toolchain dev`

But when I try that command...

❯ rustup component add rustfmt --toolchain dev
error: toolchain 'dev' does not support components
error: caused by: invalid toolchain name: 'dev'
Last update: Sep 27 2020 at 14:45UTC