From c90681bd8e629b5fde988b9f5be7b915e5cf8ae5 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 13 Oct 2020 06:13:23 +0900 Subject: rt: simplify rt-* features (#2949) tokio: merge rt-core and rt-util as rt rename rt-threaded to rt-multi-thread tokio-util: rename rt-core to rt Closes #2942 --- tokio/src/sync/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tokio/src/sync/mod.rs') diff --git a/tokio/src/sync/mod.rs b/tokio/src/sync/mod.rs index ddb289eb..57ae2778 100644 --- a/tokio/src/sync/mod.rs +++ b/tokio/src/sync/mod.rs @@ -464,7 +464,7 @@ cfg_not_sync! { pub(crate) use mutex::Mutex; } - #[cfg(any(feature = "rt-core", feature = "signal", all(unix, feature = "process")))] + #[cfg(any(feature = "rt", feature = "signal", all(unix, feature = "process")))] pub(crate) mod notify; cfg_atomic_waker_impl! { @@ -473,7 +473,7 @@ cfg_not_sync! { } #[cfg(any( - feature = "rt-core", + feature = "rt", feature = "process", feature = "signal"))] pub(crate) mod oneshot; -- cgit v1.2.3