🌉 proxy
in
`~/.cargo/config`
如果出现其中一个失败,轻尝试切换另外一个,如果都失败了,那么请清空`~/.cargo/config`
内的文件,使用官方缘
use tsinghua
[source.crates-io]
replace-with = 'tuna'
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
use ustc
[source.crates-io]
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
一次性代理设置
RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup rustup target add wasm32-unknown-unknown
refs: https://mirrors.tuna.tsinghua.edu.cn/help/rustup/
set in switchhosts
199.232.68.133 raw.githubusercontent.com
199.232.68.133 user-images.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com