aboutsummaryrefslogtreecommitdiff
path: root/benches/bench.rs
diff options
context:
space:
mode:
Diffstat (limited to 'benches/bench.rs')
-rw-r--r--benches/bench.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/benches/bench.rs b/benches/bench.rs
index 94c4bb2..defdb12 100644
--- a/benches/bench.rs
+++ b/benches/bench.rs
@@ -144,13 +144,13 @@ fn bench_many_chunks_avx512(b: &mut Bencher) {
}
#[bench]
-#[cfg(feature = "neon")]
+#[cfg(blake3_neon)]
fn bench_many_chunks_neon(b: &mut Bencher) {
bench_many_chunks_fn(b, Platform::neon().unwrap());
}
#[bench]
-#[cfg(feature = "wasm32_simd")]
+#[cfg(blake3_wasm32_simd)]
fn bench_many_chunks_wasm(b: &mut Bencher) {
bench_many_chunks_fn(b, Platform::wasm32_simd().unwrap());
}
@@ -215,13 +215,13 @@ fn bench_many_parents_avx512(b: &mut Bencher) {
}
#[bench]
-#[cfg(feature = "neon")]
+#[cfg(blake3_neon)]
fn bench_many_parents_neon(b: &mut Bencher) {
bench_many_parents_fn(b, Platform::neon().unwrap());
}
#[bench]
-#[cfg(feature = "wasm32_simd")]
+#[cfg(blake3_wasm32_simd)]
fn bench_many_parents_wasm(b: &mut Bencher) {
bench_many_parents_fn(b, Platform::wasm32_simd().unwrap());
}