diff options
| author | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2022-06-05 15:14:18 -0500 |
|---|---|---|
| committer | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2022-06-05 15:14:18 -0500 |
| commit | fac5cbc2f59df4cf881e9117d271750c274cb4c0 (patch) | |
| tree | 6f8bab9364aea9a017f2bd9adeabbfe185a71b94 /library/std/src/sys | |
| parent | fee3a459dd6aba8e34a5b99f0fbcb4218a1e2401 (diff) | |
| download | rust-fac5cbc2f59df4cf881e9117d271750c274cb4c0.tar.gz rust-fac5cbc2f59df4cf881e9117d271750c274cb4c0.zip | |
Remove SIGIO reference on Haiku
Haiku doesn't define SIGIO. The nix crate already employs this workaround: https://github.com/nix-rust/nix/blob/5dedbc7850448ae3922ab0a833f3eb971bf7e25f/src/sys/signal.rs#L92-L94
Diffstat (limited to 'library/std/src/sys')
| -rw-r--r-- | library/std/src/sys/unix/process/process_unix.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/process/process_unix.rs b/library/std/src/sys/unix/process/process_unix.rs index ef29aa3c890..75bb92437fd 100644 --- a/library/std/src/sys/unix/process/process_unix.rs +++ b/library/std/src/sys/unix/process/process_unix.rs @@ -730,6 +730,7 @@ fn signal_string(signal: i32) -> &'static str { libc::SIGVTALRM => " (SIGVTALRM)", libc::SIGPROF => " (SIGPROF)", libc::SIGWINCH => " (SIGWINCH)", + #[cfg(not(target_os = "haiku"))] libc::SIGIO => " (SIGIO)", libc::SIGSYS => " (SIGSYS)", // For information on Linux signals, run `man 7 signal` |
