2022年5月6日

rust更换镜像源

摘要: 在~/.cargo下新建一个config文件 里面粘贴如下代码 [source.crates-io] registry = "https://github.com/rust-lang/crates.io-index" # 指定镜像 replace-with = 'tuna' # 清华大学 [sour 阅读全文

posted @ 2022-05-06 15:39 风中狂笑 阅读(470) 评论(0) 推荐(0) 编辑

rust error:blocking waiting for file lock on package cache

摘要: 把关于rust的进程关掉,电脑重启都没用,后删除~/.cargo下的.package-cache目录可 阅读全文

posted @ 2022-05-06 15:31 风中狂笑 阅读(222) 评论(0) 推荐(0) 编辑

rust error:linker 'link.exe' not found

摘要: solution 1 需要装个vs中的c++桌面开发 解决办法 (20条消息) 关于window下运行rust程序报错‘linker `link.exe` not found‘_北纬32.6的博客-CSDN博客 下面的方法可以试试,不过我先用了上面的方法,也不知道下面的方法有没有用,换台机子可以试试 阅读全文

posted @ 2022-05-06 11:02 风中狂笑 阅读(1604) 评论(0) 推荐(0) 编辑

导航