From 27b0529f9e54c4433a59e9fdd921e723ab4da72f Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Wed, 15 May 2024 13:58:33 -0400 Subject: [PATCH] docs: gate taskdump compiler_error behind not(doc) --- 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")