docs: gate taskdump compiler_error behind not(doc) (#6564)

This commit is contained in:
Russell Cohen 2024-05-16 06:14:07 -04:00 committed by GitHub
parent ced7739f69
commit d221c500fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")