rustup icon indicating copy to clipboard operation
rustup copied to clipboard

Default to `stable` when no active toolchain is present

Open soloturn opened this issue 11 months ago • 3 comments

Problem

having cargo and rustup installed and call it first time it errors out, the only action i did not expect when building something. if you can print "run a command to choose stable" then really the software can choose a reasonable default by itself please. " you did not specify, so i chose ... for you".

❯ cargo build -p daemon --bin kanidmd --release
error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version


soloturn avatar Nov 30 '24 10:11 soloturn