patternrustCritical
No default toolchain configured after installing rustup
Viewed 0 times
configuredinstallingrustupaftertoolchaindefault
Problem
I installed Rust using rustup, but when I try to enter a Rust command like
Is this a known issue?
cargo or rustc in my console, the following error appears:error: no default toolchain configured
Is this a known issue?
Solution
If it seems that rustup did not successfully install and configure the stable toolchain, you can do it manually:
After testing, it seems like my incomplete installation may have been caused by a network error. You can also try to reinstall to solve the problem.
rustup install stable
rustup default stable
After testing, it seems like my incomplete installation may have been caused by a network error. You can also try to reinstall to solve the problem.
Context
Stack Overflow Q#44303915, score: 348
Revisions (0)
No revisions yet.