Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7399787
  • 博文数量: 1756
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16232
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1756)

文章存档

2024年(2)

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类: 系统运维

2020-12-01 13:37:01

rust 安装一直是一个非常慢的事情,找到了一种加速安装的方法
export RUSTUP_DIST_SERVER=""
export RUSTUP_UPDATE_ROOT="/rustup"
curl -sSf | sh

crates代理
代理一:
[source.crates-io]
replace-with = "rustcc"

[source.rustcc]
registry = ""

代理二:
[source.crates-io]
replace-with = 'ustc'

[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"

代理三:
# Put the content into ${HOME}/.cargo/config
[source.crates-io]
registry = ""

# replace with your favourite mirror
replace-with = 'sjtu'

[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"

[source.sjtu]
registry = ""

[source.rustcc]
registry = ""

代理四:
[source.crates-io]
replace-with = 'tuna'

[source.tuna]
registry = ""

转:
https://blog.hellojukay.cn/2020/03/06/20200307/
https://blog.hellojukay.cn/2020/03/24/20200325/
阅读(2030) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~