mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
benches: revert "properly gate unix benches" (#7412)
This reverts commit 933fa498d0bda193960784cb3f6a47be3bc1e492.
This commit is contained in:
parent
b3a14483bf
commit
2506c9fa99
@ -71,12 +71,12 @@ name = "sync_semaphore"
|
||||
path = "sync_semaphore.rs"
|
||||
harness = false
|
||||
|
||||
[[target.'cfg(unix)'.bench]]
|
||||
[[bench]]
|
||||
name = "signal"
|
||||
path = "signal.rs"
|
||||
harness = false
|
||||
|
||||
[[target.'cfg(unix)'.bench]]
|
||||
[[bench]]
|
||||
name = "fs"
|
||||
path = "fs.rs"
|
||||
harness = false
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![cfg(unix)]
|
||||
|
||||
use tokio_stream::StreamExt;
|
||||
|
||||
use tokio::fs::File;
|
||||
|
@ -1,4 +1,5 @@
|
||||
//! Benchmark the delay in propagating OS signals to any listeners.
|
||||
#![cfg(unix)]
|
||||
|
||||
use criterion::{criterion_group, criterion_main, Criterion};
|
||||
use std::future::Future;
|
||||
|
Loading…
x
Reference in New Issue
Block a user