From 9b0a534962f3a2852491a3b0bc4d4e857f2a1382 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Wed, 8 Apr 2015 10:58:06 -0700 Subject: Bring back eventfd behind a feature flag At some point, feature flags will be switched to a conditional build system. --- src/sys/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sys/mod.rs') 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; -- cgit v1.2.3