summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
authorBryant Mairs <bryantmairs@google.com>2017-11-05 08:24:55 -0800
committerBryant Mairs <bryantmairs@google.com>2017-11-05 08:37:10 -0800
commit7221a1ce5742e422983cc2e4f73f0aa29347c7df (patch)
tree03f2a51d89e0c2de82929e40d06779e604c7c819 /src/sys/mod.rs
parent1b9d205c472232c18803b8e9375ef2c6b704148c (diff)
downloadnix-7221a1ce5742e422983cc2e4f73f0aa29347c7df.zip
Sort target OSes alphabetically
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index c99fe2db..a94b8a06 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -1,12 +1,20 @@
-#[cfg(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
- target_os = "netbsd", target_os = "macos", target_os = "linux"))]
+#[cfg(any(target_os = "dragonfly",
+ target_os = "freebsd",
+ target_os = "ios",
+ target_os = "linux",
+ target_os = "macos",
+ target_os = "netbsd"))]
pub mod aio;
-#[cfg(any(target_os = "linux", target_os = "android"))]
+#[cfg(any(target_os = "android", target_os = "linux"))]
pub mod epoll;
-#[cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd",
- target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd"))]
+#[cfg(any(target_os = "dragonfly",
+ target_os = "freebsd",
+ target_os = "ios",
+ target_os = "macos",
+ target_os = "netbsd",
+ target_os = "openbsd"))]
pub mod event;
#[cfg(target_os = "linux")]
@@ -46,7 +54,7 @@ pub mod uio;
pub mod time;
-#[cfg(any(target_os = "linux", target_os = "android"))]
+#[cfg(any(target_os = "android", target_os = "linux"))]
pub mod ptrace;
pub mod select;