From d221c500faffab409ce84780ea1e40f76581332e Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Thu, 16 May 2024 06:14:07 -0400 Subject: [PATCH] docs: gate taskdump compiler_error behind not(doc) (#6564) --- tokio/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index f15f8763e36..bacc8192742 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -471,6 +471,7 @@ compile_error!("The `tokio_taskdump` feature requires `--cfg tokio_unstable`."); #[cfg(all( tokio_taskdump, + not(doc), not(all( target_os = "linux", any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64")