mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
添加dadk支持 (#263)
* 引入dadk,使用dadk0.1.1来编译test-relibc程序 * 由于gitee仓库体积限制导致无法继续使用gitee上的rust索引,因此更换为清华源 * github workflow的环境中,安装dadk * Auto configure dragonos rust toolchain
This commit is contained in:
@ -123,7 +123,7 @@ rustInstall() {
|
||||
echo "curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly"
|
||||
exit
|
||||
else
|
||||
echo "是否为Rust换源为Gitee镜像源?"
|
||||
echo "是否为Rust换源为国内镜像源?(Tuna)"
|
||||
echo "如果您在国内,我们推荐您这样做,以提升网络速度。"
|
||||
echo "*WARNING* 这将会替换原有的镜像源设置。"
|
||||
printf "(y/N): "
|
||||
@ -141,6 +141,7 @@ rustInstall() {
|
||||
rustup component add rust-src
|
||||
rustup component add llvm-tools-preview
|
||||
rustup target add x86_64-unknown-none
|
||||
cargo install dadk
|
||||
echo "Rust已经成功的在您的计算机上安装!请运行 source ~/.cargo/env 以使rust在当前窗口生效!"
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user