Skip to content

Commit

Permalink
signal: add SignalKind::info on illumos
Browse files Browse the repository at this point in the history
illumos has supported SIGINFO for a long time; see illumos/illumos-gate@19d32b9.
  • Loading branch information
sunshowers committed Nov 28, 2024
1 parent c07257f commit 58ad99d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tokio/src/signal/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ impl SignalKind {
target_os = "freebsd",
target_os = "macos",
target_os = "netbsd",
target_os = "openbsd"
target_os = "openbsd",
target_os = "illumos"
))]
pub const fn info() -> Self {
Self(libc::SIGINFO)
Expand Down

0 comments on commit 58ad99d

Please sign in to comment.