Skip to content

Default to stable when no active toolchain is present #4102

Open
@soloturn

Description

@soloturn

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


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions