Skip to content

Commit

Permalink
Fix features errors
Browse files Browse the repository at this point in the history
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
  • Loading branch information
zaharidichev committed Sep 24, 2020
1 parent 2ef49fa commit 9716c82
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions tokio/src/sync/mod.rs
Expand Up @@ -478,6 +478,7 @@ cfg_not_sync! {
cfg_signal! {
pub(crate) mod mpsc;
pub(crate) mod semaphore_ll;
pub(crate) mod notify;
}
}

Expand Down
2 changes: 1 addition & 1 deletion tokio/src/sync/mpsc/chan.rs
Expand Up @@ -4,7 +4,7 @@ use crate::loom::sync::atomic::AtomicUsize;
use crate::loom::sync::Arc;
use crate::sync::mpsc::error::{ClosedError, TryRecvError};
use crate::sync::mpsc::{error, list};
use crate::sync::Notify;
use crate::sync::notify::Notify;

use std::fmt;
use std::process;
Expand Down
7 changes: 6 additions & 1 deletion tokio/src/util/mod.rs
Expand Up @@ -3,7 +3,12 @@ cfg_io_driver! {
pub(crate) mod slab;
}

#[cfg(any(feature = "io-readiness", feature = "sync", feature = "rt-core"))]
#[cfg(any(
feature = "io-readiness",
feature = "sync",
feature = "rt-core",
feature = "signal"
))]
pub(crate) mod linked_list;

#[cfg(any(feature = "rt-threaded", feature = "macros", feature = "stream"))]
Expand Down

0 comments on commit 9716c82

Please sign in to comment.