mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 14:16:47 +00:00
* 引入dadk,使用dadk0.1.1来编译test-relibc程序 * 由于gitee仓库体积限制导致无法继续使用gitee上的rust索引,因此更换为清华源 * github workflow的环境中,安装dadk * Auto configure dragonos rust toolchain
8 lines
275 B
Bash
8 lines
275 B
Bash
# 更换Rust镜像源
|
|
echo -e "[source.crates-io] \n \
|
|
registry = \"https://github.com/rust-lang/crates.io-index\" \n \
|
|
\n \
|
|
replace-with = 'tuna' \n \
|
|
[source.tuna] \n \
|
|
registry = \"https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git\" \n \
|
|
" > ~/.cargo/config |