chore: bump signal-hook from 0.2.3 to 0.3.10 (#21081)
* chore: bump signal-hook from 0.2.3 to 0.3.10 Bumps [signal-hook](https://github.com/vorner/signal-hook) from 0.2.3 to 0.3.10. - [Release notes](https://github.com/vorner/signal-hook/releases) - [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md) - [Commits](https://github.com/vorner/signal-hook/compare/v0.2.3...v0.3.10) --- updated-dependencies: - dependency-name: signal-hook dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update apis Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
@ -41,7 +41,7 @@ tokio = { version = "1", features = ["full"] }
|
||||
assert_cmd = "2.0"
|
||||
|
||||
[target."cfg(unix)".dependencies]
|
||||
signal-hook = "0.2.3"
|
||||
signal-hook = "0.3.10"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
@ -837,7 +837,7 @@ fn main() {
|
||||
// `register()` is unsafe because the action is called in a signal handler
|
||||
// with the usual caveats. So long as this action body stays empty, we'll
|
||||
// be fine
|
||||
unsafe { signal_hook::register(signal_hook::SIGUSR1, || {}) }.unwrap();
|
||||
unsafe { signal_hook::low_level::register(signal_hook::consts::SIGUSR1, || {}) }.unwrap();
|
||||
}
|
||||
|
||||
const DEFAULT_ROOT_COUNT: &str = "1";
|
||||
|
Reference in New Issue
Block a user