From b010b5ddafb316e5d540de1736f5f7bfde42ec39 Mon Sep 17 00:00:00 2001 From: Mattia Pitossi Date: Fri, 17 Apr 2026 22:32:22 +0200 Subject: [PATCH] test taskdump docs (#8064) --- tokio/src/macros/cfg.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tokio/src/macros/cfg.rs b/tokio/src/macros/cfg.rs index a0d8da518..efbd163c7 100644 --- a/tokio/src/macros/cfg.rs +++ b/tokio/src/macros/cfg.rs @@ -520,6 +520,20 @@ macro_rules! cfg_taskdump { target_arch = "x86_64" ) ))] + #[cfg_attr( + docsrs, + doc(cfg(all( + tokio_unstable, + feature = "taskdump", + feature = "rt", + target_os = "linux", + any( + target_arch = "aarch64", + target_arch = "x86", + target_arch = "x86_64" + ) + ))) + )] $item )* };