Update windows-sys to 0.48

This commit is contained in:
Taiki Endo 2023-04-04 03:41:02 +09:00
parent 99b9abc536
commit 01e36f4abe
2 changed files with 4 additions and 6 deletions

View File

@ -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]

View File

@ -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.