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"
|
||||
|
||||
[target.'cfg(windows)'.dependencies.windows-sys]
|
||||
version = "0.45"
|
||||
version = "0.48"
|
||||
default-features = false
|
||||
features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_System_Threading",
|
||||
"Win32_System_WindowsProgramming"
|
||||
]
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -154,11 +154,10 @@ impl Child {
|
|||
use std::sync::mpsc;
|
||||
|
||||
use windows_sys::Win32::{
|
||||
System::{
|
||||
Threading::{RegisterWaitForSingleObject, WT_EXECUTEINWAITTHREAD, WT_EXECUTEONLYONCE},
|
||||
WindowsProgramming::INFINITE,
|
||||
},
|
||||
Foundation::{BOOLEAN, HANDLE},
|
||||
System::Threading::{
|
||||
RegisterWaitForSingleObject, INFINITE, WT_EXECUTEINWAITTHREAD, WT_EXECUTEONLYONCE,
|
||||
},
|
||||
};
|
||||
|
||||
// This channel is used to simulate SIGCHLD on Windows.
|
||||
|
|
Loading…
Reference in New Issue