Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fyhhub authored Nov 19, 2023
1 parent d1c9e03 commit 35b7543
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/rust-learn/安装rust.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Rust安装

## Window安装
1. 下载rustup-init.exe

https://www.rust-lang.org/tools/install

2. 设置镜像

```shell
$ENV:RUSTUP_DIST_SERVER='https://mirrors.ustc.edu.cn/rust-static'
$ENV:RUSTUP_UPDATE_ROOT='https://mirrors.ustc.edu.cn/rust-static/rustup'
```

3. 执行rustup-init.exe

4.下载C++环境
https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/

进去后勾选C++即可

0 comments on commit 35b7543

Please sign in to comment.