aboutsummaryrefslogtreecommitdiff
path: root/src/sys/shell/selector.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/shell/selector.rs')
-rw-r--r--src/sys/shell/selector.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sys/shell/selector.rs b/src/sys/shell/selector.rs
index 0e0c031..69be370 100644
--- a/src/sys/shell/selector.rs
+++ b/src/sys/shell/selector.rs
@@ -18,6 +18,11 @@ impl Selector {
pub fn select(&self, _: &mut Events, _: Option<Duration>) -> io::Result<()> {
os_required!();
}
+
+ #[cfg(debug_assertions)]
+ pub fn register_waker(&self) -> bool {
+ os_required!();
+ }
}
#[cfg(unix)]
@@ -39,7 +44,7 @@ cfg_any_os_util! {
}
}
-cfg_net! {
+cfg_io_source! {
#[cfg(debug_assertions)]
impl Selector {
pub fn id(&self) -> usize {