From 9bac346d66d20cd7b8abc1e4001cb461bb665a0b Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Thu, 20 Jan 2022 07:56:33 +0530 Subject: chore: update netif to 0.1.1 (#13425) --- runtime/Cargo.toml | 2 +- runtime/ops/signal.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime') diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index e488f6f0d..b8378d444 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -73,7 +73,7 @@ hyper = { version = "0.14.12", features = ["server", "stream", "http1", "http2", libc = "0.2.106" log = "0.4.14" lzzzz = '=0.8.0' -netif = "0.1.0" +netif = "0.1.1" notify = "=5.0.0-pre.12" once_cell = "=1.9.0" regex = "1.5.4" diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs index 7f897c048..0fa5ba3e4 100644 --- a/runtime/ops/signal.rs +++ b/runtime/ops/signal.rs @@ -97,7 +97,7 @@ pub fn signal_str_to_int(s: &str) -> Result { } } -#[cfg(target_os = "linux")] +#[cfg(any(target_os = "android", target_os = "linux"))] pub fn signal_str_to_int(s: &str) -> Result { match s { "SIGHUP" => Ok(1), -- cgit v1.2.3