1.下载RUST源码
https://static.rust-lang.org/dist/rustc-1.18.0-src.tar.gz ,解压到C盘 C: ustc-1.18.0-src
2.下载 https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe
运行一下,跟据网址下载 VC 2015 编译器,默认安装OK
3.下载安装 https://static.rust-lang.org/dist/rust-1.18.0-x86_64-pc-windows-msvc.msi 安装目录路径指为
C:Program FilesRust1.17
4.进入CMD---> CD racer-master------>执行命令:
C: acer-master>cargo build --release
把C: acer-master arget elease acer.exe 拷到C:Program FilesRust1.17in下
5.相同目录下同样执行命令:
C: acer-master>cargo install rustfmt
C: acer-master>cargo install rustsym
把
C:Userszkf.cargoincargo-fmt.exe
C:Userszkf.cargoin ustfmt.exe
C:Userszkf.cargoin ustsym.exe
拷到C:Program FilesRust1.17in 下面
6.打开Visual Studio Code 加载RUST 插件,搜最高分的那个插件
Code Runner
7.打开Visual Studio Code 在首选项中设置
8.右健RUN CODE