Skip to content

Commit e000ecb

Browse files
committed
std::unix::process adding few specific freebsd signals to be able to id.
1 parent 67454f5 commit e000ecb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

std/src/sys/pal/unix/process/process_unix.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1053,6 +1053,10 @@ fn signal_string(signal: i32) -> &'static str {
10531053
libc::SIGINFO => " (SIGINFO)",
10541054
#[cfg(target_os = "hurd")]
10551055
libc::SIGLOST => " (SIGLOST)",
1056+
#[cfg(target_os = "freebsd")]
1057+
libc::SIGTHR => " (SIGTHR)",
1058+
#[cfg(target_os = "freebsd")]
1059+
libc::SIGLIBRT => " (SIGLIBRT)",
10561060
_ => "",
10571061
}
10581062
}

0 commit comments

Comments
 (0)