diff options
author | Lucio Franco <luciofranco14@gmail.com> | 2020-09-23 14:35:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 14:35:10 -0400 |
commit | f25f12d57638a2928b3f738b3b1392d8773e276e (patch) | |
tree | 04da3ba7022a42bf8d1d08a039fcc1fc2fc95313 /tokio/src/util | |
parent | 0f70530ee7cda68b68f2f8131b5866cfa937ee1f (diff) |
rt: Allow concurrent `block_on`'s with basic_scheduler (#2804)
Diffstat (limited to 'tokio/src/util')
-rw-r--r-- | tokio/src/util/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tokio/src/util/mod.rs b/tokio/src/util/mod.rs index c5439f48..278d6343 100644 --- a/tokio/src/util/mod.rs +++ b/tokio/src/util/mod.rs @@ -12,6 +12,10 @@ mod rand; mod wake; pub(crate) use wake::{waker_ref, Wake}; +cfg_rt_core! { + pub(crate) use wake::WakerRef; +} + cfg_rt_threaded! { pub(crate) use rand::FastRand; |