当前位置:网站首页>Configure the rust compilation environment
Configure the rust compilation environment
2022-06-11 05:39:00 【zhmhbest】
To configure Rust Compile environment
- S t e p 1 Step1 Step1: Make sure that
MinGW-w64Installation ; - S t e p 2 Step2 Step2: download Rust Erection sequence
rustup-init.exe; - S t e p 3 Step3 Step3: Open a command window and enter the following command :
@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: Tip the lack of Microsoft C++ build tools, Press enter to continue ;
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: Custom installation information :
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>2
- S t e p 6 Step6 Step6: To configure default host triple, For other options, press enter directly to use the default :
Default host triple?
x86_64-pc-windows-gnu
The final configuration is as follows :
default host triple: x86_64-pc-windows-gnu
default toolchain: stable
profile: default
modify PATH variable: yes
- S t e p 7 Step7 Step7: Continue the installation and wait for the installation to complete :
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>1
- S t e p 8 Step8 Step8: Test installation results :
rustc -V
rustc ?.??.? (????????? ????-??-??)
边栏推荐
- Combination sum Ⅳ -- leetcode exercise
- Multi thread tutorial (XXIX) immutable design
- Section II: structural composition characteristics of asphalt pavement (2) structural layer and performance requirements
- BERT知识蒸馏
- [go deep into kotlin] - get to know flow for the first time
- NDK learning notes (IX) POSIX sockect connection oriented communication
- Wxparse parsing iframe playing video
- Redis setup (sentinel mode)
- Get the third-party interface
- ImageView supporting single finger sliding and double finger scaling
猜你喜欢

NDK learning notes (VI) Basics: memory management, standard file i/o

If the MAC fails to connect with MySQL, it will start and report an error

微信小程序,购买商品属性自动换行,固定div个数,超出部分自动换行

NDK R21 compiles ffmpeg 4.2.2+x264 and converts video files using ffmpeg

Big meal count (time complexity) -- leetcode daily question

Multithreading tutorial (XXVII) CPU cache and pseudo sharing

YOLOv5的Tricks | 【Trick8】图片采样策略——按数据集各类别权重采样

QT Road (2) -- HelloWorld

(15) Infrared communication

微信自定义组件---样式--插槽
随机推荐
NFC Development -- difference between ID card and IC card (M1 card and CPU card) (III)
es-ik 安装报错
数据接入平台方案实现(游族网络)
袋鼠雲數棧基於CBO在Spark SQL優化上的探索
PCB走線到底能承載多大電流
袋鼠云数栈基于CBO在Spark SQL优化上的探索
Convert result set of SQL to set
Redis setup (sentinel mode)
Handle double quotation mark escape in JSON string
Multithreading tutorial (XXVI) field updater and atomic accumulator
在未来,机器人或 AI 还有多久才能具备人类的创造力?
Manually splicing dynamic JSON strings
使用Genymotion Scrapy控制手机
Jsonobject jsonarray for parsing
PageHelper page 2 collections in the same interface
使用Batch读取注册表
NDK learning notes (VI) Basics: memory management, standard file i/o
Section IV: composition and materials of asphalt mixture (2) -- main materials of asphalt
NDK learning notes (14) create an avi video player using avilib+window
Preliminary understanding of multi task learning