mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
默认nightly-2024-07-23 & config改为config.toml (#872)
This commit is contained in:
@ -20,7 +20,7 @@ registry = \"https://github.com/rust-lang/crates.io-index\" \n \
|
||||
replace-with = 'tuna' \n \
|
||||
[source.tuna] \n \
|
||||
registry = \"sparse+https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/\" \n \
|
||||
" > ~/.cargo/config
|
||||
" > ~/.cargo/config.toml
|
||||
else
|
||||
echo -e "[source.crates-io] \n \
|
||||
registry = \"https://github.com/rust-lang/crates.io-index\" \n \
|
||||
@ -28,6 +28,6 @@ registry = \"https://github.com/rust-lang/crates.io-index\" \n \
|
||||
replace-with = 'tuna' \n \
|
||||
[source.tuna] \n \
|
||||
registry = \"https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git\" \n \
|
||||
" > ~/.cargo/config
|
||||
" > ~/.cargo/config.toml
|
||||
|
||||
fi
|
||||
|
Reference in New Issue
Block a user