diff --git a/.cirrus.yml b/.cirrus.yml index 2e364028df6..f18d5835468 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -4,7 +4,7 @@ freebsd_instance: image_family: freebsd-14-3 env: RUST_STABLE: stable - RUST_NIGHTLY: nightly-2025-01-25 + RUST_NIGHTLY: nightly-2025-10-12 RUSTFLAGS: -D warnings # This excludes unstable features like io_uring, which require '--cfg tokio_unstable'. TOKIO_STABLE_FEATURES: full,test-util diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index d1e9ba093b7..7da7e21fd9c 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -15,6 +15,9 @@ no_crate_inject, attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables)) ))] +// loom is an internal implementation detail. +// Do not show "Available on non-loom only" label +#![cfg_attr(docsrs, doc(auto_cfg(hide(loom))))] #![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(docsrs, allow(unused_attributes))] #![cfg_attr(loom, allow(dead_code, unreachable_pub))]