更新时间:2022-05-02 22:08:27
cargo test
自动构建示例(但不运行它们).我相信它会在主要测试运行程序之前先执行此操作,但您可以使用 cargo test -v
进行验证.
cargo test
automatically builds examples (but doesn't run them). I believe it does this first, before the main test runners, but you can verify with cargo test -v
.