From 1da09dd985c7cba08f4c55aa5ca6ffe02af975fc Mon Sep 17 00:00:00 2001 From: Wolfgang Ginolas Date: Tue, 7 Nov 2017 20:59:39 +0100 Subject: [PATCH] additional reformatting of target_os configurations --- src/sys/aio.rs | 13 ++++++------- src/sys/signal.rs | 5 ++--- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/sys/aio.rs b/src/sys/aio.rs index 9efc95cacc..826c0973b7 100644 --- a/src/sys/aio.rs +++ b/src/sys/aio.rs @@ -19,13 +19,12 @@ libc_enum! { /// do it like `fsync` O_SYNC, /// on supported operating systems only, do it like `fdatasync` - #[cfg(any( - target_os = "bitrig", - target_os = "ios", - target_os = "linux", - target_os = "macos", - target_os = "netbsd", - target_os = "openbsd"))] + #[cfg(any(target_os = "bitrig", + target_os = "ios", + target_os = "linux", + target_os = "macos", + target_os = "netbsd", + target_os = "openbsd"))] O_DSYNC } } diff --git a/src/sys/signal.rs b/src/sys/signal.rs index 5a9a237d0f..093fdb8ebc 100644 --- a/src/sys/signal.rs +++ b/src/sys/signal.rs @@ -33,9 +33,8 @@ libc_enum!{ SIGPIPE, SIGALRM, SIGTERM, - #[cfg(all( - any(target_os = "android", target_os = "emscripten", target_os = "linux"), - not(any(target_arch = "mips", target_arch = "mips64"))))] + #[cfg(all(any(target_os = "android", target_os = "emscripten", target_os = "linux"), + not(any(target_arch = "mips", target_arch = "mips64"))))] SIGSTKFLT, SIGCHLD, SIGCONT,