DragonOS-Community / DragonOS

使用Rust从0自研内核,具有Linux兼容性的操作系统,面向云计算轻量化场景而设计。DragonOS is an operating system developed from scratch using Rust, with Linux compatibility. It is designed for lightweight cloud computing scenarios.
https://dragonos.org
GNU General Public License v2.0
817 stars 132 forks source link

chore(tools): change the rust download mirror #819

Closed donjuanplatinum closed 1 month ago

donjuanplatinum commented 1 month ago

更换rust镜像源为稀疏索引以提高下载速度

dragonosbot commented 1 month ago

r? @fslongjin

dragonosbot has assigned @fslongjin. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

fslongjin commented 1 month ago

感觉这个地方最好做成可选项,就是脚本加--sparse参数,才使用稀疏索引。这样会更好。因为稀疏索引实际上是每次编译的时候,速度会慢一些的,有的同学会更愿意直接clone整个索引。

@dragonosbot author

fslongjin commented 1 month ago

在那个换元的脚本里面加一个选项判断,而不是在外面bootstrap那里加。也不用复制多一个脚本文件

donjuanplatinum commented 1 month ago

r? @fslongjin

dragonosbot has assigned @fslongjin. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

r?

dragonosbot commented 1 month ago

Error: Parsing assign command in comment failed: ...'' | error: specify user to assign to at >| ''...

Please file an issue on GitHub at triagebot if there's a problem with this bot, or post it on https://bbs.dragonos.org.cn