0
我在Windows上構建Rust程序時遇到問題。一切都很好,直到我添加一個依賴。一旦添加了依賴關係,我會嘗試更新包裝箱註冊表。有任何想法嗎?貨物註冊表更新總是失敗
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.
嘗試重命名文件夾'c:\ users \ YORUSERNAME \ .cargo \ registry \ index \ github.com-88ac128001ac3a9a'並再次運行它 –
無法打開郵件的實際文件夾是c:\ users \ YORUSERNAME \ .cargo \註冊表\首頁\ github.com-88ac128001ac3a9a。我省略了c:\ users \ username。 – McAvoy
我知道,但你可以重命名它的威盛瀏覽器? ) –