Skip to content

Commit

Permalink
Rollup merge of rust-lang#126146 - devnexen:signal_fbsd, r=ChrisDenton
Browse files Browse the repository at this point in the history
std::unix::process adding few specific freebsd signals to be able to id.
  • Loading branch information
matthiaskrgr authored Jun 9, 2024
2 parents e6c378f + e000ecb commit a9bd569
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions std/src/sys/pal/unix/process/process_unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
_ => "",
}
}
Expand Down

0 comments on commit a9bd569

Please sign in to comment.