当前环境:win11+wsl+vscode
1.安装rustup
1 | curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh |
2.安装vsocode插件
1 | rust-analyzer ,Rust 语言插件 |
3.运行hello world!
1 | cargo new world_hello |
4.修改 Rust 的下载镜像为国内的镜像地址
1 | #在 $HOME/.cargo/config.toml 添加以下内容: |
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 yengii@qq.com