Skip to content

Add a way to install the toolchain specified in the override file #1218

@shinglyu

Description

@shinglyu

#1172 allows us to create a rust-toolchain file and specify a version of the toolchain to be used in the current directory. But I can't seem to find a way to install the specified version automatically.
Now I do cat rust-toolchain | xargs rustup install, but it would be nice to have a command like rustup install rust-toolchain or maybe simply rustup install (fail if the file is not present).

Thoughts? @brson

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions