Fix SIGEMT and SIGINFO parsing on watchOS and visionOS
This commit is contained in:
parent
79c6d91966
commit
a6d9da6b2a
1 changed files with 3 additions and 7 deletions
|
@ -1040,24 +1040,20 @@ fn signal_string(signal: i32) -> &'static str {
|
|||
#[cfg(any(target_os = "linux", target_os = "nto"))]
|
||||
libc::SIGPWR => " (SIGPWR)",
|
||||
#[cfg(any(
|
||||
target_os = "macos",
|
||||
target_os = "ios",
|
||||
target_os = "tvos",
|
||||
target_os = "freebsd",
|
||||
target_os = "netbsd",
|
||||
target_os = "openbsd",
|
||||
target_os = "dragonfly",
|
||||
target_os = "nto",
|
||||
target_vendor = "apple",
|
||||
))]
|
||||
libc::SIGEMT => " (SIGEMT)",
|
||||
#[cfg(any(
|
||||
target_os = "macos",
|
||||
target_os = "ios",
|
||||
target_os = "tvos",
|
||||
target_os = "freebsd",
|
||||
target_os = "netbsd",
|
||||
target_os = "openbsd",
|
||||
target_os = "dragonfly"
|
||||
target_os = "dragonfly",
|
||||
target_vendor = "apple",
|
||||
))]
|
||||
libc::SIGINFO => " (SIGINFO)",
|
||||
#[cfg(target_os = "hurd")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue