首页 > 其他 > 详细

Rust: Couldn't resolve host name (Could not resolve host: crates

时间:2020-09-07 11:52:42      阅读:362      评论:0      收藏:0      [点我收藏+]

使用 nightly 版本时,Crates 源可能会出现 Couldn‘t resolve host name (Could not resolve host: crates) 错误(见 https://github.com/ustclug/discussions/issues/294)。

 

一个临时的解决方法是在运行 cargo 的时候加入环境变量 CARGO_HTTP_MULTIPLEXING=false

 

source: https://mirrors.ustc.edu.cn/help/crates.io-index.html

Rust: Couldn't resolve host name (Could not resolve host: crates

原文:https://www.cnblogs.com/ilovewindy/p/13625948.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!