cargo test sub -- --nocapture
测试sub名称的测试函数,同时显示打印信息。
export RUSTFLAGS="-C target_feature=+avx2"
cargo test xxxx --no-default-features --features "std avx2_backend" -- --nocapture
cargo test sub -- --nocapture
测试sub名称的测试函数,同时显示打印信息。
export RUSTFLAGS="-C target_feature=+avx2"
cargo test xxxx --no-default-features --features "std avx2_backend" -- --nocapture
微信扫码登录