Skip to content

Commit 8f2b9f3

Browse files
committed
Fix socket2::Socket niche optimization breaking stuff
1 parent a32ee55 commit 8f2b9f3

File tree

3 files changed

+120
-47
lines changed

3 files changed

+120
-47
lines changed

vm/src/stdlib/os.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3270,7 +3270,6 @@ mod nt {
32703270

32713271
#[pyfunction]
32723272
fn set_inheritable(fd: i32, inheritable: bool, vm: &VirtualMachine) -> PyResult<()> {
3273-
use winapi::um::{handleapi, winbase};
32743273
let handle = Fd(fd).to_raw_handle().map_err(|e| e.into_pyexception(vm))?;
32753274
set_handle_inheritable(handle as _, inheritable, vm)
32763275
}

0 commit comments

Comments
 (0)