summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2015-04-08 10:58:06 -0700
committerCarl Lerche <me@carllerche.com>2015-04-08 10:58:06 -0700
commit9b0a534962f3a2852491a3b0bc4d4e857f2a1382 (patch)
tree142be49940886ee6ab4b552ad2405787c0f9c9aa /src/sys/mod.rs
parentc5c21c4c96b8ec4b5b4fa243ce1ad5978a02c964 (diff)
downloadnix-9b0a534962f3a2852491a3b0bc4d4e857f2a1382.zip
Bring back eventfd behind a feature flag
At some point, feature flags will be switched to a conditional build system.
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;