ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

cargo

2022-07-25 17:04:03  阅读:62  来源: 互联网

标签:cargo git index Caused crates failed io


git-fetch-with-cli

[net]
git-fetch-with-cli = true

本地仓库

$ cargo build
    Updating `mirror` index
error: failed to get `libc` as a dependency of package `ndk v0.1.0 (F:\Github\rust\ndk)`

Caused by:
  failed to load source for dependency `libc`

Caused by:
  Unable to update registry `crates-io`

Caused by:
  failed to update replaced source registry `crates-io`

Caused by:
  failed to fetch `file:///E:/crates.io-index-master`

Caused by:
  process didn't exit successfully: `git fetch --force --update-head-ok file:///E:/crates.io-index-master +HEAD:refs/remotes/origin/HEAD
` (exit code: 128)
  --- stderr
  fatal: '/E:/crates.io-index-master' does not appear to be a git repository
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.

标签:cargo,git,index,Caused,crates,failed,io
来源: https://www.cnblogs.com/develon/p/16517974.html

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有