summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2015-04-03 16:54:12 -0700
committerCarl Lerche <me@carllerche.com>2015-04-06 17:33:17 -0700
commit9e935330dd252d4ec640197a6040df2aaeb583c9 (patch)
tree51b528bf8e36972c69ae004ea04ef8bc65456534 /src/sys/mod.rs
parente5ae756203a036aafed472a3e83af6941f546887 (diff)
downloadnix-9e935330dd252d4ec640197a6040df2aaeb583c9.zip
Get compiling on Rust 1.0 beta
Initially support this by assuming the lowest common denominator. The long term solution is to improve the build system to allow pulling in more specific features that are available on the target system.
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index c14b02f2..fbd75d23 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -5,8 +5,9 @@ pub mod epoll;
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub mod event;
-#[cfg(any(target_os = "linux", target_os = "android"))]
-pub mod eventfd;
+// Dont' support eventfd for now
+// #[cfg(any(target_os = "linux", target_os = "android"))]
+// pub mod eventfd;
#[cfg(not(target_os = "ios"))]
pub mod ioctl;