windows - cargo 登记更新总是失败

标签 windows rust rust-cargo

我在 Windows 上构建 Rust 程序时遇到问题。在我添加依赖项之前,一切都很好。添加依赖项后,我会尝试更新 crate 注册表。有任何想法吗?

cargo build --verbose
        Updating registry `https://github.com/rust-lang/crates.io-index`
           error Unable to update registry https://github.com/rust-lang/crates.io-index

    Caused by:
      [2/-1] Could not open '.cargo/registry/index/github.com-88ac128001ac3a9a/bi/tt/bittorrent' for writing: Access is denied.

最佳答案

您的防病毒软件可能会干扰操作。尝试暂时禁用您的防病毒软件,或在您的防病毒软件配置中为有问题的文件夹添加异常(exception)。

关于windows - cargo 登记更新总是失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36061005/

相关文章:

windows - 最小化字符数的简单数字到数字(或数字到十六进制)加密算法

rust - 是否可以通过委托(delegate)给结构成员来创建实现 Ord 的宏?

rust - 如何消除Rust的特征?

c# - 如何在 DataGridViewComboBoxColumn 中设置 SelectedIndex?

windows - 针对特定软件的自动化工具建议(我认为是 C#)

rust - 混合高阶函数和结果

rust - 如何从 Visual Studio Code 启动 Rust 应用程序?

rust - 有没有更简单的方法在我的构建脚本上运行 clippy?

postgresql - Rust cargo 找不到 postgres 包

.NET:向同一应用程序的所有实例发送文本消息并阅读