Skip to content

Specifying how to set toolchain to nightly for project can use rust-toolchain file #42

Open
@ssnover

Description

@ssnover

The book currently indicates that the user should set their toolchain for the project using rustup override set nightly which does achieve the purpose locally. However if the project is moved or pushed to a git repository and cloned later, this information will be lost and not everyone will be savvy enough to know the toolchain needs to be nightly.

A better solution is to add a rust-toolchain file to the root of the project with echo "nightly" > rust-toolchain which will persist in the project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions