2018 rust卡石头教程_CentOS7安装Rust版本管理工具rustup

本文是一篇关于在CentOS7上安装Rust版本管理工具rustup的教程,详细介绍了安装过程、环境变量设置、版本指定以及解决cargo编译可能遇到的问题。
摘要由CSDN通过智能技术生成

为了要编译一个东西,所以折腾了下rustup,顺便写个教程。

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 
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值