File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ libc = "0.2" # For setpgid and signal constants
2222tracing-subscriber = { version = " 0.3" , features = [" env-filter" , " fmt" ] } # For logging setup
2323tempfile = " 3" # For creating temporary directories in examples/tests
2424anyhow = " 1.0" # For simple error handling in examples
25- windows-sys = { version = " 0.59.0" , features = [" Win32" ] }
25+ windows-sys = { version = " 0.59.0" , features = [" Win32" , " Win32_System " ] }
2626# Dependency on the library itself (needed for building examples within the workspace)
2727# This line might not be strictly necessary if cargo automatically detects it,
2828# but explicitly listing it can sometimes help.
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ async fn handle_timeout_event(
275275 #[ cfg( unix) ]
276276 let pid = Pid :: from_raw ( pid_u32 as i32 ) ;
277277 #[ cfg( windows) ]
278- let pid = HANDLE :: from ( pid_u32 as i32 ) ;
278+ let pid = HANDLE :: from ( pid_u32 as * mut c_void ) ;
279279 // Send SIGKILL to the entire process group.
280280 // killpg takes the PID of any process in the group (usually the leader)
281281 // and signals the entire group associated with that process.
You can’t perform that action at this time.
0 commit comments