Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to change default rust crates mirrors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
liulanghaitun
n00b
n00b


Joined: 23 Dec 2022
Posts: 6

PostPosted: Wed Jan 17, 2024 9:39 am    Post subject: how to change default rust crates mirrors Reply with quote

Because access to crates.io is slow, I want to change the default crates mirror. but cargo.eclass default mirror is crates.io. how can I change the default mirror by hook.
for example i want to change default crates.io to https://mirrors.ustc.edu.cn/crates.io-index.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3961
Location: Rasi, Finland

PostPosted: Fri Jan 19, 2024 8:55 pm    Post subject: Reply with quote

Unfortunately, crates.io seems to be hardcoded in that eclass.
Please submit a bug.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum