diff options
| -rw-r--r-- | library/std/src/sys/unix/process/process_unix/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/process/process_unix/tests.rs b/library/std/src/sys/unix/process/process_unix/tests.rs index 3ab568eaa33..5d1bf470835 100644 --- a/library/std/src/sys/unix/process/process_unix/tests.rs +++ b/library/std/src/sys/unix/process/process_unix/tests.rs @@ -22,6 +22,6 @@ fn exitstatus_display_tests() { // Testing "unrecognised wait status" is hard because the wait.h macros typically // assume that the value came from wait and isn't mad. With the glibc I have here // this works: - #[cfg(target_env = "gnu")] + #[cfg(all(target_os = "linux", target_env = "gnu"))] t(0x000ff, "unrecognised wait status: 255 0xff"); } |
