Rollup merge of #126146 - devnexen:signal_fbsd, r=ChrisDenton

std::unix::process adding few specific freebsd signals to be able to id.
This commit is contained in:
Matthias Krüger 2024-06-09 10:17:08 +02:00 committed by GitHub
commit d24d937a55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -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)",
_ => "",
}
}