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

This reverts commit 933fa498d0bda193960784cb3f6a47be3bc1e492.
This commit is contained in:
Alice Ryhl 2025-06-21 14:52:04 +02:00 committed by GitHub
parent b3a14483bf
commit 2506c9fa99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

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

View File

@ -1,3 +1,5 @@
#![cfg(unix)]
use tokio_stream::StreamExt;
use tokio::fs::File;

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;