原书出处
Rust 程序设计(第2版)
08 crate 与模块 8.6 测试与文档
Rust 的测试工具会使用多个线程同时运行好几个测试,这是 Rust 代码默认线程安全的附带好处之一。要禁用此功能,请运行单个测试 cargo test testname 或运行 cargo test -- --test-threads 1。
(第一个 -- 确保 cargo test 将 --te
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Rust 程序设计(第2版)/_epub-src/OEBPS/Text/part0000.xhtml
EPUB SHA-256:98f790484f9bffb9ef96f9568b4a86006e3b6a96f7c0c81b7406b60f16712e85