diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-07 11:41:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-07 11:41:09 +0200 |
| commit | f32a4f06aba4aab085fe50490c8d70ce66fb7bdf (patch) | |
| tree | 1490b569b29c1f332623fe7cf452bb4b41cd9e0c /library/std/src/sys | |
| parent | 62c260de8c621f577d33970613c6b611e2de7d8e (diff) | |
| parent | fac5cbc2f59df4cf881e9117d271750c274cb4c0 (diff) | |
| download | rust-f32a4f06aba4aab085fe50490c8d70ce66fb7bdf.tar.gz rust-f32a4f06aba4aab085fe50490c8d70ce66fb7bdf.zip | |
Rollup merge of #97771 - rtzoeller:haiku_no_sigio, r=kennytm
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` |
