Skip to content

Commit eab5cfc

Browse files
committed
Allow windows-sys 0.61
This version no longer ships import libraries but instead unconditionally uses raw-dylib. Versions below <0.60 are no longer allowed as 0.61 removed BOOL from Win32 Foundation, while 0.60 introduced it in core.
1 parent 93c7abc commit eab5cfc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ libc = "0.2.156"
2626
psm = { path = "psm", version = "0.1.7" }
2727

2828
[target.'cfg(all(windows, not(target_arch = "arm64ec")))'.dependencies.windows-sys]
29-
version = ">=0.52.0, <0.60.0"
29+
version = ">=0.60.0, <0.62.0"
3030
features = [
3131
"Win32_System_Memory",
3232
"Win32_System_Threading",
3333
"Win32_Foundation",
3434
]
3535

3636
[target.arm64ec-pc-windows-msvc.dependencies.windows-sys]
37-
version = ">=0.59.0, <0.60.0"
37+
version = ">=0.60.0, <0.62.0"
3838
features = [
3939
"Win32_System_Memory",
4040
"Win32_System_Threading",

src/backends/windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use libc::c_void;
22
use std::io;
33
use std::ptr;
4-
use windows_sys::Win32::Foundation::BOOL;
4+
use windows_sys::core::BOOL;
55
use windows_sys::Win32::System::Memory::VirtualQuery;
66
use windows_sys::Win32::System::Threading::{
77
ConvertFiberToThread, ConvertThreadToFiber, CreateFiber, DeleteFiber, IsThreadAFiber,

0 commit comments

Comments
 (0)