diff --git a/tokio/tests/tracing_sync.rs b/tokio/tests/tracing_sync.rs index 892331e7179..7391cd8b735 100644 --- a/tokio/tests/tracing_sync.rs +++ b/tokio/tests/tracing_sync.rs @@ -4,7 +4,7 @@ //! synchronization primitives is correct. #![allow(unknown_lints, unexpected_cfgs)] #![warn(rust_2018_idioms)] -#![cfg(all(tokio_unstable, feature = "tracing"))] +#![cfg(all(tokio_unstable, feature = "tracing", target_has_atomic = "64"))] use tokio::sync; use tracing_mock::{expect, subscriber}; diff --git a/tokio/tests/tracing_task.rs b/tokio/tests/tracing_task.rs index 27fdd5bf7de..5466ad960f0 100644 --- a/tokio/tests/tracing_task.rs +++ b/tokio/tests/tracing_task.rs @@ -4,7 +4,7 @@ //! lifecycles is correct. #![allow(unknown_lints, unexpected_cfgs)] #![warn(rust_2018_idioms)] -#![cfg(all(tokio_unstable, feature = "tracing"))] +#![cfg(all(tokio_unstable, feature = "tracing", target_has_atomic = "64"))] use std::{mem, time::Duration}; diff --git a/tokio/tests/tracing_time.rs b/tokio/tests/tracing_time.rs index a18b29e70b9..964077ff278 100644 --- a/tokio/tests/tracing_time.rs +++ b/tokio/tests/tracing_time.rs @@ -4,7 +4,7 @@ //! synchronization primitives is correct. #![allow(unknown_lints, unexpected_cfgs)] #![warn(rust_2018_idioms)] -#![cfg(all(tokio_unstable, feature = "tracing"))] +#![cfg(all(tokio_unstable, feature = "tracing", target_has_atomic = "64"))] use std::time::Duration;