benches: revert "properly gate unix benches" (#7412)

This reverts commit 933fa498d0.
This commit is contained in:
Alice Ryhl
2025-06-21 14:52:04 +02:00
committed by GitHub
parent b3a14483bf
commit 2506c9fa99
3 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -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
+2
View File
@@ -1,3 +1,5 @@
#![cfg(unix)]
use tokio_stream::StreamExt;
use tokio::fs::File;
+1
View 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;