Testing (zh-CN) #1261
Replies: 1 comment 4 replies
-
error[E0152]: duplicate lang item in crate My English is very poor, please forgive my expression。When I follow the blog,I have encountered this problem and don't know how to solve it.I have also checked some information, but I cannot solve it. I think it is a version issue. |
Beta Was this translation helpful? Give feedback.
-
Testing (zh-CN)
本文主要讲述了在no_std环境下进行单元测试和集成测试的方法。我们将通过Rust的自定义测试框架来在我们的内核中执行一些测试函数。为了将结果反馈到QEMU上,我们需要使用QEMU的一些其他的功能以及bootimage工具。
https://os.phil-opp.com/zh-CN/testing/
Beta Was this translation helpful? Give feedback.
All reactions