-
Notifications
You must be signed in to change notification settings - Fork 976
Closed as not planned
Labels
bugnot-rustupWhatever is described in this issue isn't Rustup's faultWhatever is described in this issue isn't Rustup's fault
Description
Verification
- I searched for recent similar issues at https://github.com/rust-lang/rustup/issues?q=is%3Aissue+is%3Aopen%2Cclosed and found no duplicates.
- I am on the latest version of Rustup according to https://github.com/rust-lang/rustup/tags and am still able to reproduce my issue.
Problem
Running the cargo command results in rustup being ran.
For example, running cargo build
results in receiving the error:
error: invalid value 'build' for '[+toolchain]': error: "build" 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 '+'
For more information, try '--help'.
Uninstalling rust completely, rebooting, then installing rust has no effect.
Steps
Run rustup update
Attempt to build a rust project.
Possible Solution(s)
No response
Notes
RustRover does not seem to be impacted.
Rustup version
rustup 1.28.1 (f9edccde0 2025-03-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.85.0 (4d91de4e4 2025-02-17)`
Installed toolchains
Default host: x86_64-pc-windows-msvc
rustup home: C:\Users\***\.rustup
installed toolchains
--------------------
stable-x86_64-pc-windows-msvc (active, default)
active toolchain
----------------
name: stable-x86_64-pc-windows-msvc
active because: it's the default toolchain
installed targets:
x86_64-pc-windows-msvc
OS version
Windows 11; terminal
Metadata
Metadata
Assignees
Labels
bugnot-rustupWhatever is described in this issue isn't Rustup's faultWhatever is described in this issue isn't Rustup's fault