Skip to content

Commit c652cbc

Browse files
authored
Merge pull request #1199 from jsinger67/benches_on_non_linux
Allow benches on non-Linuxes
2 parents bd29563 + 808ede6 commit c652cbc

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)