rustup 下载 toolchain 时先会解析一个 toml, 然后从中获得 rustc, rust-stc, cargo 的下载地址.

一开始它们的下载地址的域名都是 static.rust-lang.org, 因此可以通过配置环境变量来替换下载地址, 参见我之前的 PR: 
https://github.com/rust-lang-nursery/rustup.rs/pull/521

但是后来不知道为什么 cargo 就改为托管在 amazon s3 上了, 下载的 url 发生了改变, 因此没法做替换. 如果要改的话我觉得需要给上游提 
issue/PR.

-- 

--- 
You received this message because you are subscribed to the Google Groups "TUNA 
主邮件列表" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复