当前位置:网站首页>Rustup installation
Rustup installation
2022-06-13 03:15:00 【flyweight_ visitor】
Rust
Rustup Important installation information
Rustup
Welcome to Rust!
This will download and install the official compiler for the Rust
programming language, and its package manager, Cargo.
Rustup metadata and toolchains will be installed into the Rustup
home directory, located at:
/Users/sjl/.rustup
This can be modified with the RUSTUP_HOME environment variable.
The Cargo home directory located at:
/Users/sjl/.cargo
This can be modified with the CARGO_HOME environment variable.
The cargo, rustc, rustup and other commands will be added to
Cargo’s bin directory, located at:
/Users/sjl/.cargo/bin
This path will then be added to your PATH environment variable by
modifying the profile files located at:
/Users/sjl/.profile
/Users/sjl/.zprofile
/Users/sjl/.bash_profile
You can uninstall at any time with rustup self uninstall and
these changes will be reverted.
Current installation options:
default host triple: x86_64-apple-darwin
default toolchain: stable (default)
profile: default
modify PATH variable: yes
Cargo structure
Crates Mirror to accelerate
Running cargo build The process may be due to crates Downloading takes a long time , It can be solved through domestic image . The specific way is as follows
vi ~/.cargo/config
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
linker cc Can't find
Rust rely on Linux Of C compiler
yum install gcc
yum install cmake
边栏推荐
- Linked list: palindrome linked list
- Introduction to Sitemap_ Sitemap online generation and sorting
- 2-year experience summary to tell you how to do a good job in project management
- C method parameter: out
- Binary tree initialization code
- Detailed explanation of curl command
- Few-shot Unsupervised Domain Adaptation with Image-to-Class Sparse Similarity Encoding
- Time processing class in PHP
- Redis server configuration
- Wechat applet obtains the current location (startlocationupdate, onlocationchange, offlocationchange)
猜你喜欢
C simple understanding - arrays and sets
二叉樹初始化代碼
Prometheus install and register services
English语法_方式副词-位置
【pytorch 記錄】pytorch的變量parameter、buffer。self.register_buffer()、self.register_parameter()
HEAP[xxx.exe]: Invalid address specified to RtlValidateHeap( 0xxxxxx, 0x000xx)
Vs 2022 new features_ What's new in visual studio2022
2021-08-30 distributed cluster
Introduction to redis (using redis, common commands, persistence methods, and cluster operations)
Reading notes of effective managers
随机推荐
String: number of substring palindromes
Radium laser radar C16 data to PCD (based on ROS)
DDL operation table
MySQL index optimization (4)
Beginner development process_ Project development FAQs
Wechat applet coordinate location interface usage (II) map interface
Explode and implode in PHP
Hash tables: metaphrases
Flutter reports an error type 'Int' is not a subtype of type 'string' wonderful experience
Understanding of intermediatelayergetter
二叉樹初始化代碼
Mongodb distributed cluster deployment process
Differences between XAML and XML
Scala implements workcount
产品需求文档如何编写
Level II C test skills
Coordinate location interface of wechat applet (II) map plug-in
brew工具-“fatal: Could not resolve HEAD to a revision”错误解决
Stack information, GC statistics
Es and kibana deployment and setup