提交 7d601455 编写于 作者: J jackymao

add rust_toolchain exercise

上级 9608d4cb
......@@ -2,5 +2,7 @@
"node_id": "rust-0d9e5f9449b94aa692a363f21a66c8af",
"keywords": [],
"children": [],
"export": []
"export": [
"rust_toolchain.json"
]
}
\ No newline at end of file
{
"type": "code_options",
"author": "jacky_rust",
"source": "rust_toolchain.md",
"notebook_enable": false
}
\ No newline at end of file
# 认识 Rust 工具链
Rust 有完善的工具和工具链,如 rustup, cargo, rust-docs, rustfmt, clippy 等,其对于开发效率的提升,常常让从其它语言迁移过来的人感觉如沐春风。
以下哪个命令可能查看当前安装的工具链及当前正在使用的工具链:
## 答案
rustup show
## 选项
### A
rustup toolchain show
### B
rustup default stable
### C
cargo +beta show
<!--
参考链接:
https://rust-lang.github.io/rustup/concepts/toolchains.html
https://rust-lang.github.io/rustup/overrides.html
-->
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册