summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index fbd75d23..f25aecb4 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -5,9 +5,9 @@ pub mod epoll;
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub mod event;
-// Dont' support eventfd for now
-// #[cfg(any(target_os = "linux", target_os = "android"))]
-// pub mod eventfd;
+// TODO: switch from feature flags to conditional builds
+#[cfg(feature = "eventfd")]
+pub mod eventfd;
#[cfg(not(target_os = "ios"))]
pub mod ioctl;