From a98c989d00e93ab757669346def59addb9e40a14 Mon Sep 17 00:00:00 2001 From: Hayden Stainsby Date: Tue, 3 Dec 2024 15:54:08 +0100 Subject: [PATCH] only depend on `tracing-mock` if u64 atomics are available --- tokio/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 4001f2eeb0c..a0353177b3e 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -151,7 +151,7 @@ mio-aio = { version = "0.9.0", features = ["tokio"] } [target.'cfg(loom)'.dev-dependencies] loom = { version = "0.7", features = ["futures", "checkpoint"] } -[target.'cfg(tokio_unstable)'.dev-dependencies] +[target.'cfg(all(tokio_unstable, target_has_atomic = "64"))'.dev-dependencies] tracing-mock = "= 0.1.0-beta.1" [package.metadata.docs.rs]