-
Notifications
You must be signed in to change notification settings - Fork 1k
Fails to add component on Windows #4232
Copy link
Copy link
Open
Description
We're also seeing some breakage for
rustup component add --toolchain nightly rustfmt, but only on Windows:error: invalid value 'C:\Users\runneradmin\.cargo\bin\rustup.exe' for '[+toolchain]': error: "C:\Users\runneradmin\.cargo\bin\rustup.exe" is not a valid subcommand, so it was interpreted as a toolchain name, but it is also invalid. To override the toolchain using the 'rustup +toolchain' syntax, make sure to prefix the toolchain override with a '+'It's similar, but not the same as marmeladema's error from above.
EDIT: this fixed it:
- rustup toolchain add nightly --profile minimal - rustup component add --toolchain nightly rustfmt + rustup toolchain install nightly --profile minimal --component rustfmt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.