diff options
author | Bryant Mairs <bryant@mai.rs> | 2017-07-16 21:22:33 -0700 |
---|---|---|
committer | Bryant Mairs <bryant@mai.rs> | 2017-07-17 21:52:37 -0700 |
commit | c1ffefa56aaeef189e075dc14774e7f518b10b67 (patch) | |
tree | 7655475cd4aac7a6e12338ed5b66c5a58c3e479e /src/sys/mod.rs | |
parent | f8406b8d6244eec0d0870d6fbdfef1671a8ed8ae (diff) | |
download | nix-c1ffefa56aaeef189e075dc14774e7f518b10b67.zip |
Remove eventfd feature in favor of conditional include
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r-- | src/sys/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs index 627f7697..796a00a1 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -9,8 +9,7 @@ pub mod epoll; target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd"))] pub mod event; -// TODO: switch from feature flags to conditional builds -#[cfg(feature = "eventfd")] +#[cfg(target_os = "linux")] pub mod eventfd; #[cfg(target_os = "linux")] |