diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-06-09 10:17:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-09 10:17:08 +0200 |
| commit | d24d937a55cbbc3d44047bea6fc72a9a527a857e (patch) | |
| tree | 4728e68084f63fdea4b52aa27edd6330590c9635 | |
| parent | 39fe991dd93840c4e73f6d5f49fe67a2956c2060 (diff) | |
| parent | cf3966dd9c1e175a0c0e1186616708ab4878896b (diff) | |
| download | rust-d24d937a55cbbc3d44047bea6fc72a9a527a857e.tar.gz rust-d24d937a55cbbc3d44047bea6fc72a9a527a857e.zip | |
Rollup merge of #126146 - devnexen:signal_fbsd, r=ChrisDenton
std::unix::process adding few specific freebsd signals to be able to id.
| -rw-r--r-- | library/std/src/sys/pal/unix/process/process_unix.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/unix/process/process_unix.rs b/library/std/src/sys/pal/unix/process/process_unix.rs index e2fca8c7e63..72bda90a9ba 100644 --- a/library/std/src/sys/pal/unix/process/process_unix.rs +++ b/library/std/src/sys/pal/unix/process/process_unix.rs @@ -1053,6 +1053,10 @@ fn signal_string(signal: i32) -> &'static str { libc::SIGINFO => " (SIGINFO)", #[cfg(target_os = "hurd")] libc::SIGLOST => " (SIGLOST)", + #[cfg(target_os = "freebsd")] + libc::SIGTHR => " (SIGTHR)", + #[cfg(target_os = "freebsd")] + libc::SIGLIBRT => " (SIGLIBRT)", _ => "", } } |
