diff options
Diffstat (limited to 'tokio/src/runtime/task/mod.rs')
-rw-r--r-- | tokio/src/runtime/task/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tokio/src/runtime/task/mod.rs b/tokio/src/runtime/task/mod.rs index d30a467f..7b49e95a 100644 --- a/tokio/src/runtime/task/mod.rs +++ b/tokio/src/runtime/task/mod.rs @@ -21,7 +21,7 @@ use self::state::State; mod waker; -cfg_rt_threaded! { +cfg_rt_multi_thread! { mod stack; pub(crate) use self::stack::TransferStack; } @@ -79,7 +79,7 @@ pub(crate) trait Schedule: Sync + Sized + 'static { } } -cfg_rt_core! { +cfg_rt! { /// Create a new task with an associated join handle pub(crate) fn joinable<T, S>(task: T) -> (Notified<S>, JoinHandle<T::Output>) where @@ -99,7 +99,7 @@ cfg_rt_core! { } } -cfg_rt_util! { +cfg_rt! { /// Create a new `!Send` task with an associated join handle pub(crate) unsafe fn joinable_local<T, S>(task: T) -> (Notified<S>, JoinHandle<T::Output>) where @@ -132,7 +132,7 @@ impl<S: 'static> Task<S> { } } -cfg_rt_threaded! { +cfg_rt_multi_thread! { impl<S: 'static> Notified<S> { pub(crate) unsafe fn from_raw(ptr: NonNull<Header>) -> Notified<S> { Notified(Task::from_raw(ptr)) |