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