mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
chore: update netif to 0.1.1 (#13425)
This commit is contained in:
parent
1ec07368b4
commit
9bac346d66
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ hyper = { version = "0.14.12", features = ["server", "stream", "http1", "http2",
|
||||||
libc = "0.2.106"
|
libc = "0.2.106"
|
||||||
log = "0.4.14"
|
log = "0.4.14"
|
||||||
lzzzz = '=0.8.0'
|
lzzzz = '=0.8.0'
|
||||||
netif = "0.1.0"
|
netif = "0.1.1"
|
||||||
notify = "=5.0.0-pre.12"
|
notify = "=5.0.0-pre.12"
|
||||||
once_cell = "=1.9.0"
|
once_cell = "=1.9.0"
|
||||||
regex = "1.5.4"
|
regex = "1.5.4"
|
||||||
|
|
|
@ -97,7 +97,7 @@ pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(any(target_os = "android", target_os = "linux"))]
|
||||||
pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> {
|
pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> {
|
||||||
match s {
|
match s {
|
||||||
"SIGHUP" => Ok(1),
|
"SIGHUP" => Ok(1),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue