rustup toolchains

默认的toolchain是stable-x86_64-pc-windows-msvc

也可以使用stable-x86_64-pc-windows-gnu

gnu结尾的需要mingw32

默认的需要vs c++ build tool

rustup install <toolchain> # toolchain 即 release channel,主要有三种 stable,beta 和 nightly,注意此处还要指定版本,如 nightly-2019-01-17
rustup default <toolchain> # 切换默认 toolchain
rustup update # 更新 toolchain
rustup self uninstall # 卸载当前 toolchain
rustup doc # 查看本地文档
posted @ 2022-10-10 23:09  七つ一旋桜  阅读(182)  评论(0)    收藏  举报