cargo test 报错 STATUS_DLL_NOT_FOUND
windows 下 运行cargo test 报错,如下:
The command "cargo test --all" exited with 127.Finished test [unoptimized + debuginfo] target(s) in 25.78sRunning target\debug\deps\ggwp_zgui-3b74f8e4b6c31eb3.exeRunning target\debug\deps\ggwp_zscene-ec8c5c465c239831.exeRunning target\debug\deps\zcomponents-1118c32f12d9d9de.exeRunning target\debug\deps\zemeroth-87343641e1757a7b.exe
error: test failed, to rerun pass '-p zemeroth --bin zemeroth'
Caused by:process didn't exit successfully: `C:\Users\travis\build\ozkriff\zemeroth\target\debug\deps\zemeroth-87343641e1757a7b.exe` (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND)
解决方法:把toolchains 的bin路径添加到环境变量。
执行 rustc --print sysroot 就会输出你toolchains的路径,把类似C:\Users\appveyor\.rustup\toolchains\%RUST_VERSION%-%TARGET%\bin这样的路径添加到环境变量中的PATH中即可。
用VSCODE的同学记得重启下VSCODE,用命令行的重启下命令行。
参考:Weird `cargo test` error on travis windows job - help - The Rust Programming Language Forum
cargo test 报错 STATUS_DLL_NOT_FOUND相关推荐
- Transformers库安装报错
安装Transformers库用来调取最新的深度学习模型(NLP) 安装时报错: ERROR: Command errored out with exit status 1:If you are us ...
- maven命令行创建web项目报错:java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils...
早上新建一个web项目,没想到一敲命令创建就失败了,真是出师不利.各种折腾无果,当然我也可以用eclipse直接创建的,就是想搞清楚状况.刚刚才发现问题原因,这个结果我也是醉了,太坑爹了. 问题现象: ...
- Rust链接C语言Intel MKL库报错
我正在使用Rust FFI来使用C语言当中的Intel MKL库.我已经成功的引入Intel MKL的绝对路径到build.rs当中,并且Rust可以查找到所有的MKL函数的使用方法. 但是当我car ...
- 继承WebMvcConfigurer 和 WebMvcConfigurerAdapter类依然CORS报错? springboot 两种方式稳定解决跨域问题
继承WebMvcConfigurer 和 WebMvcConfigurerAdapter类依然CORS报错???springboot 两种方式稳定解决跨域问题! 之前我写了一篇文章,来解决CORS报错 ...
- Access to XMLHttpRequest at file from origin ‘null‘ has been blocked by CORS policy谷歌浏览器本地打开项目js文件报错
Access to XMLHttpRequest at 'file:///xxxxx/PQ.BaseInfo.proto' from origin 'null' has been blocked by ...
- go build 编译报错 missing go.sum entry for module providing package
go build 编译报错 missing go.sum entry for module providing package 解决方法 // 移除未使用的依赖 go mod tidy 再次编译,就可 ...
- docker报错:driver failed programming external connectivity on endpoint, iptables:No chain by that name
docker 报错: Error response from daemon: Cannot restart container hello: driver failed programming ext ...
- mybatis查询报错:com.mysql.cj.exceptions.DataConversionException: Cannot determine value type from string
mybatis查询报错: com.mysql.cj.exceptions.DataConversionException: Cannot determine value type from strin ...
- mongo报错:not authorized on bb to execute command { create: \“xxx\“...}
mongo报错: {"ok" : 0,"errmsg" : "not authorized on bb to execute command { cr ...
- restTemplate http请求报错:no suitable HttpMessageConverter found for response type and content type
报错信息: org.springframework.web.client.UnknownContentTypeException: Could not extract response: no sui ...
最新文章
- python 点云las、laz文件的读取、写入、压缩
- 数据降维与可视化——t-SNE
- OVS DPDK vhost-user详解(十一)
- ajax连接云数据库密码,ajax和数据库连接
- php接口返回一个数组怎末写_php api返回json数组
- unity3d 剧情制作_游戏设计作品集干货:跨专业如何入门 Unity3D 游戏引擎?
- java session使用_Java互联网架构-高负载集群架构如何解决session一致性问题
- Spring中,修改注入的bean名称
- 陕西师《c语言程序设计》作业,陕西c语言编程学习入门
- pure CSS3 triangle icon
- 《编写可维护的JavaScript》——JavaScript编码规范(七)
- Ubuntu 14.04LTS 环境下安装UliPad
- 几个文件vtp格式转stl格式
- oracle学习札记94
- 二维六点对称格式matlab,热传导方程求解的程序
- Take-Two同意斥资127亿美元收购Zynga,或成史上最大游戏并购交易
- 未来云计算虚拟化技术的发展趋势
- AES实现后端参数加解密
- pk+uk+fk+index
- LabVIEW的for循环事例
热门文章
- ffmpeg将amr文件转成mp3文件
- linux 内核配置otg,Linux 4.9.11 测试USB OTG功能
- 服务器网卡支持热插拔吗,HDMI接口能“热插拔”吗?这篇告诉你
- TensorFlow版BERT源码详解之self-attention
- 自学编程和计算机科班出身的差别在哪里?
- 绿色建筑推动海口智慧城市发展
- Adobe Photoshop CC2018软件安装教程
- 计算机C盘能扩展吗,为什么电脑c盘没有扩展卷(原因揭秘及扩大c盘空间的方式)...
- loopback网卡功能
- Pandas汇总不同excel工作簿中的表格并合并同类数据