Skip to content

Commit 58ad99d

Browse files
committed
signal: add SignalKind::info on illumos
illumos has supported SIGINFO for a long time; see illumos/illumos-gate@19d32b9.
1 parent c07257f commit 58ad99d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tokio/src/signal/unix.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ impl SignalKind {
130130
target_os = "freebsd",
131131
target_os = "macos",
132132
target_os = "netbsd",
133-
target_os = "openbsd"
133+
target_os = "openbsd",
134+
target_os = "illumos"
134135
))]
135136
pub const fn info() -> Self {
136137
Self(libc::SIGINFO)

0 commit comments

Comments
 (0)