rust – 更新注册表`https:// example.com /`
发布时间:2020-12-14 02:50:52 所属栏目:Windows 来源:网络整理
导读:正如 https://github.com/DaGenix/rust-crypto所说,我将此添加到我的rust-lib项目中: //Cargo.toml[dependencies]rust-crypto = "*"//lib.rsextern crate "rust-crypto" as rust_crypto; 得到了这个: $cargo build --verbose Updating registry `https://e
正如
https://github.com/DaGenix/rust-crypto所说,我将此添加到我的rust-lib项目中:
//Cargo.toml [dependencies] rust-crypto = "*" //lib.rs extern crate "rust-crypto" as rust_crypto; 得到了这个: $cargo build --verbose Updating registry `https://example.com/` Unable to update the package registry Caused by: failed to fetch `https://example.com/` Caused by: [16] hostname does not match certificate 没有“example.com”既不是我的项目,也不是他的lib. 解决方法
我不确定你为什么被投票.
当注册表设置为example.com时,您可能只有一个较旧的Cargo.你上次安装的时间是什么时候? 另见:这个reddit线程http://www.reddit.com/r/rust/comments/2mywa1/cargo_update_error_on_registry_httpsexamplecom/ (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 从Windows上的Emacs中的“grep-find”运行时,ack不起作用
- Windows PowerShell 2.0中的运行空间是什么?
- Windows关闭/重新启动通知程序提供延迟选项,类似于自动更新
- azure-active-directory – 如何从graph.microsoft.com获取
- 解析DELL R710服务器迁移操作内容
- winapi – 使用Windows API调用打开CD / DVD门?
- Meteor – 无法在Windows 8.1上运行tasklist.exe
- windows-server-2008-r2 – Windows 2008 R2 – 卷影副本管
- Windows安装程序 – 使用Visual Studio安装项目设置Install
- windows-7 – Windows 7中是否支持ITaskScheduler?
推荐文章
站长推荐
热点阅读