为了要编译一个东西,所以折腾了下rustup,顺便写个教程。
![d439accfdd503ad828cdddf815454541.png](https://img-blog.csdnimg.cn/img_convert/d439accfdd503ad828cdddf815454541.png)
Rust
Rust 是一门系统级编程语言,被设计为保证内存和线程安全,并防止段错误。作为系统级编程语言,它的基本理念是 “零开销抽象”。理论上来说,它的速度与 C / C++ 同级。
rustup
rustup 是rust官方的版本管理工具。应当作为安装 Rust 的首选。
安装说明
testerzhang# curl https://sh.rustup.rs -sSf | shinfo: downloading installerWarning: Not enforcing strong cipher suites for TLS, this is potentially less secureWelcome to Rust!This will download and install the official compiler for the Rustprogramming language, and its package manager, Cargo.Rustup metadata and toolchains will be installed into the Rustuphome directory, located at: /root/.rustupThis can be modified with