当前位置:网站首页>配置Rust编译环境
配置Rust编译环境
2022-06-11 05:38:00 【zhmhbest】
配置Rust编译环境
- S t e p 1 Step1 Step1:确保已完成
MinGW-w64的安装; - S t e p 2 Step2 Step2:下载Rust安装程序
rustup-init.exe; - S t e p 3 Step3 Step3:打开命令窗口输入以下命令:
@REM SET CARGO_HOME=
@REM SET RUSTUP_HOME=
SET RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
SET RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup
rustup-init.exe
- S t e p 4 Step4 Step4:提示缺少Microsoft C++ build tools,回车继续;
If you will be targeting the GNU ABI or otherwise know what you are
doing then it is fine to continue installation without the build
tools, but otherwise, install the C++ build tools before proceeding.
Continue? (Y/n) Y
- S t e p 5 Step5 Step5:自定义安装信息:
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>2
- S t e p 6 Step6 Step6:配置default host triple,其它选择直接回车使用默认:
Default host triple?
x86_64-pc-windows-gnu
最终配置如下:
default host triple: x86_64-pc-windows-gnu
default toolchain: stable
profile: default
modify PATH variable: yes
- S t e p 7 Step7 Step7:继续安装等待安装完成:
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>1
- S t e p 8 Step8 Step8:测试安装结果:
rustc -V
rustc ?.??.? (????????? ????-??-??)
边栏推荐
- Recherche sur l'optimisation de Spark SQL basée sur CBO pour kangourou Cloud Stack
- PCB走线到底能承载多大电流
- 20多种云协作功能,3分钟聊透企业的数据安全经
- When the recyclerview plays more videos, the problem of refreshing the current video is solved.
- If the MAC fails to connect with MySQL, it will start and report an error
- ELK日志系统实战(六):技术选型之vector与filebeat对比
- Deep learning distributed training
- SwiftUI: Navigation all know
- Section III: structural characteristics of cement concrete pavement
- [entry level basics] node basic knowledge summary
猜你喜欢

JVM tuning V: JVM tuning tools and tuning practice

Wechat applet, automatic line feed for purchasing commodity attributes, fixed number of divs, automatic line feed for excess parts

Recommend a free intranet penetration open source software that can be used in the local wechat official account under test

Preliminary understanding of multi task learning

Games101 job 7-path tracing implementation process & detailed interpretation of code

Combien de courant le câblage des PCB peut - il supporter?

在未来,机器人或 AI 还有多久才能具备人类的创造力?

Preliminary understanding of DFS and BFS
![[entry level basics] node basic knowledge summary](/img/91/39aff1ade1f37f54b61a454e32d487.jpg)
[entry level basics] node basic knowledge summary

1.使用阿里云对象OSS(初级)
随机推荐
English digital converter
Further efficient identification of memory leakage based on memory optimization tool leakcanary and bytecode instrumentation technology
Informatica:数据质量管理六步法
Topological sorting
Multithreading tutorial (XXII) happens before principle
WinForm (I) introduction to WinForm and use of basic controls
Adapter the problem of executing only one animation in multiple frames
[project - what are the supporting materials in the annexes? (18 kinds of 2000 word summary)] project plan of innovation and entrepreneurship competition and supporting materials of Challenge Cup entr
NDK learning notes (13) create an avi video player using avilib+opengl es 2.0
String sorting times --- bubble sorting deformation
SwiftUI: Navigation all know
Combien de courant le câblage des PCB peut - il supporter?
Analyzing while experimenting - memory leakage caused by non static inner classes
ELK日志系统实战(六):技术选型之vector与filebeat对比
自定义View之基础篇
49. 字母异位词分组
Slide the receleview horizontally to the far right to listen to the page loading function
(十五)红外通信
How to apply for free idea with official documents
Combing route - Compaction Technology