Skip to content

Commit

Permalink
Release v 0.3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
vorner committed May 16, 2022
1 parent 09e8930 commit 9c20a65
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.3.14

* Added the SIGINFO signal (where available).

# signal-hook-mio-0.2.3

* Support for mio 0.8
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "signal-hook"
version = "0.3.13"
version = "0.3.14"
authors = [
"Michal 'vorner' Vaner <vorner@vorner.cz>",
"Thomas Himmelstoss <thimm@posteo.de>",
Expand Down
8 changes: 6 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,12 @@ pub mod consts {
pub use libc::SIGIO;

#[cfg(any(
target_os="freebsd", target_os="dragonfly", target_os="netbsd", target_os="openbsd",
target_os="macos"))]
target_os = "freebsd",
target_os = "dragonfly",
target_os = "netbsd",
target_os = "openbsd",
target_os = "macos"
))]
pub use libc::SIGINFO;

#[cfg(windows)]
Expand Down
8 changes: 6 additions & 2 deletions src/low_level/signal_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@ const DETAILS: &[Details] = &[
s!(SIGILL, Term),
s!(SIGINT, Term),
#[cfg(any(
target_os="freebsd", target_os="dragonfly", target_os="netbsd",
target_os="openbsd", target_os="macos"))]
target_os = "freebsd",
target_os = "dragonfly",
target_os = "netbsd",
target_os = "openbsd",
target_os = "macos"
))]
s!(SIGINFO, Ignore),
#[cfg(not(target_os = "haiku"))]
s!(SIGIO, Ignore),
Expand Down

0 comments on commit 9c20a65

Please sign in to comment.