How to switch between Rust toolchains?

前端 未结 3 1675
盖世英雄少女心
盖世英雄少女心 2021-01-17 11:08

rustup help toolchain lists the following sub-commands

SUBCOMMANDS:
    list         List installed too         


        
3条回答
  •  佛祖请我去吃肉
    2021-01-17 11:52

    The rustup default stable command works well, but the easiest way is to keep a rust-toolchain file inside your project root folder. This is similar to a .nvm file for a NodeJS project.

    rust-toolchain

    nightly
    

    or

    stable
    

提交回复
热议问题