在定义依赖项(rand="0.3.0")之后尝试从教程(猜谜游戏)中的示例时,我得到了这个:
$ cargo build --verbose
Updating registry `https://github.com/rust-lang/crates.io-index`
Unable to update registry https://github.com/rust-lang/crates.io-index
Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
[16] The SSL certificate is invalid
Run Code Online (Sandbox Code Playgroud)
将此添加到货物注册表git repo,但没有成功:
[http]
sslVerify = false
Run Code Online (Sandbox Code Playgroud)
在哪里挖?