Skip to content

Commit 2fc6779

Browse files
committed
Allow benches on non-Linuxes
1 parent f8d174a commit 2fc6779

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/tests/benches/perf.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![cfg(target_os = "linux")]
12
use std::{fs::File, os::raw::c_int, path::Path};
23

34
use criterion::profiler::Profiler;

0 commit comments

Comments
 (0)