小弧光的博客

公众号:小弧光黑板报

导航

2023年5月29日 #

rust 测试如何打印 println 输出结果

摘要: ``` cargo test -- --nocapture or rustc --test main.rs; ./main or (my favorite) cargo watch “test -- --nocapture” ``` https://medium.com/@ericdreichert 阅读全文

posted @ 2023-05-29 16:47 小弧光 阅读(187) 评论(0) 推荐(0) 编辑