command to print MIR
cargo +nightly rustc -- -Z unpretty=mir
command to print the volume of each variant of enum
Reference https://nnethercote.github.io/perf-book/type-sizes.html
rustc +nightly -Zprint-type-sizes input.rs
run the test
Restrict to use only single thread:
cargo test -- --test-threads 1
println
can be used during running tests:
cargo test -- --nocapture
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。