Skip to content

Commit 1da09dd

Browse files
committed
additional reformatting of target_os configurations
1 parent 4b4caec commit 1da09dd

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/sys/aio.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@ libc_enum! {
1919
/// do it like `fsync`
2020
O_SYNC,
2121
/// on supported operating systems only, do it like `fdatasync`
22-
#[cfg(any(
23-
target_os = "bitrig",
24-
target_os = "ios",
25-
target_os = "linux",
26-
target_os = "macos",
27-
target_os = "netbsd",
28-
target_os = "openbsd"))]
22+
#[cfg(any(target_os = "bitrig",
23+
target_os = "ios",
24+
target_os = "linux",
25+
target_os = "macos",
26+
target_os = "netbsd",
27+
target_os = "openbsd"))]
2928
O_DSYNC
3029
}
3130
}

src/sys/signal.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ libc_enum!{
3333
SIGPIPE,
3434
SIGALRM,
3535
SIGTERM,
36-
#[cfg(all(
37-
any(target_os = "android", target_os = "emscripten", target_os = "linux"),
38-
not(any(target_arch = "mips", target_arch = "mips64"))))]
36+
#[cfg(all(any(target_os = "android", target_os = "emscripten", target_os = "linux"),
37+
not(any(target_arch = "mips", target_arch = "mips64"))))]
3938
SIGSTKFLT,
4039
SIGCHLD,
4140
SIGCONT,

0 commit comments

Comments
 (0)