1
Fork 0

Fix SIGEMT and SIGINFO parsing on watchOS and visionOS

This commit is contained in:
Mads Marquart 2024-04-28 17:37:04 +02:00
parent 79c6d91966
commit a6d9da6b2a

View file

@ -1040,24 +1040,20 @@ fn signal_string(signal: i32) -> &'static str {
#[cfg(any(target_os = "linux", target_os = "nto"))] #[cfg(any(target_os = "linux", target_os = "nto"))]
libc::SIGPWR => " (SIGPWR)", libc::SIGPWR => " (SIGPWR)",
#[cfg(any( #[cfg(any(
target_os = "macos",
target_os = "ios",
target_os = "tvos",
target_os = "freebsd", target_os = "freebsd",
target_os = "netbsd", target_os = "netbsd",
target_os = "openbsd", target_os = "openbsd",
target_os = "dragonfly", target_os = "dragonfly",
target_os = "nto", target_os = "nto",
target_vendor = "apple",
))] ))]
libc::SIGEMT => " (SIGEMT)", libc::SIGEMT => " (SIGEMT)",
#[cfg(any( #[cfg(any(
target_os = "macos",
target_os = "ios",
target_os = "tvos",
target_os = "freebsd", target_os = "freebsd",
target_os = "netbsd", target_os = "netbsd",
target_os = "openbsd", target_os = "openbsd",
target_os = "dragonfly" target_os = "dragonfly",
target_vendor = "apple",
))] ))]
libc::SIGINFO => " (SIGINFO)", libc::SIGINFO => " (SIGINFO)",
#[cfg(target_os = "hurd")] #[cfg(target_os = "hurd")]