Update windows-sys to 0.48
This commit is contained in:
parent
99b9abc536
commit
01e36f4abe
|
@ -36,12 +36,11 @@ default-features = false
|
||||||
blocking = "1.0.0"
|
blocking = "1.0.0"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies.windows-sys]
|
[target.'cfg(windows)'.dependencies.windows-sys]
|
||||||
version = "0.45"
|
version = "0.48"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"Win32_Foundation",
|
"Win32_Foundation",
|
||||||
"Win32_System_Threading",
|
"Win32_System_Threading",
|
||||||
"Win32_System_WindowsProgramming"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -154,11 +154,10 @@ impl Child {
|
||||||
use std::sync::mpsc;
|
use std::sync::mpsc;
|
||||||
|
|
||||||
use windows_sys::Win32::{
|
use windows_sys::Win32::{
|
||||||
System::{
|
|
||||||
Threading::{RegisterWaitForSingleObject, WT_EXECUTEINWAITTHREAD, WT_EXECUTEONLYONCE},
|
|
||||||
WindowsProgramming::INFINITE,
|
|
||||||
},
|
|
||||||
Foundation::{BOOLEAN, HANDLE},
|
Foundation::{BOOLEAN, HANDLE},
|
||||||
|
System::Threading::{
|
||||||
|
RegisterWaitForSingleObject, INFINITE, WT_EXECUTEINWAITTHREAD, WT_EXECUTEONLYONCE,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// This channel is used to simulate SIGCHLD on Windows.
|
// This channel is used to simulate SIGCHLD on Windows.
|
||||||
|
|
Loading…
Reference in New Issue