diff options
author | Carl Lerche <me@carllerche.com> | 2015-04-03 16:54:12 -0700 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2015-04-06 17:33:17 -0700 |
commit | 9e935330dd252d4ec640197a6040df2aaeb583c9 (patch) | |
tree | 51b528bf8e36972c69ae004ea04ef8bc65456534 /src/sys/mod.rs | |
parent | e5ae756203a036aafed472a3e83af6941f546887 (diff) | |
download | nix-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.rs | 5 |
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; |