Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 2997049

Browse files
committed
Make simd_json bench macros conditional
1 parent 92648f8 commit 2997049

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ macro_rules! bench {
3737
}
3838
}
3939

40+
#[cfg(feature = "lib-simd-json")]
4041
macro_rules! bench_simd_json {
4142
{} => {
4243
let name = format!(" simd_json ");
@@ -143,6 +144,7 @@ macro_rules! bench_file {
143144
}
144145
}
145146

147+
#[cfg(feature = "lib-simd-json")]
146148
macro_rules! bench_file_simd_json {
147149
{
148150
path: $path:expr,

0 commit comments

Comments
 (0)