标签:tom 上海交通 文件 detail rust ext 科学技术 replace ldb
sudo gedit ~/.bashrc export PATH="$HOME/.cargo/bin:$PATH"
// 根目录下创建config文件,写入如下代码 [source.crates-io] registry = "https://github.com/rust-lang/crates.io-index" # 指定镜像(下面几个里选一个) replace-with = ‘ustc‘ # 清华大学 [source.tuna] registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git" # 中国科学技术大学 [source.ustc] registry = "git://mirrors.ustc.edu.cn/crates.io-index" # 上海交通大学 [source.sjtu] registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index" # rustcc社区 [source.rustcc0] registry = "https://code.aliyun.com/rustcc/crates.io-index.git" [source.rustcc1] registry="git://crates.rustcc.cn/crates.io-index" [source.rustcc2] registry="git://crates.rustcc.com/crates.io-index"
地址:https://blog.csdn.net/u010766458/article/details/105117102
标签:tom 上海交通 文件 detail rust ext 科学技术 replace ldb
原文地址:https://www.cnblogs.com/smallleiit/p/14698292.html