From 677b633f91bcb5e58ab8fadb794ff6a5db4598da Mon Sep 17 00:00:00 2001 From: Stanley5249 Date: Sat, 25 Jul 2026 00:24:18 +0800 Subject: [PATCH] fix(hid): declare Win32_System_IO feature for windows-sys WriteFile --- crates/openlogi-hid/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/openlogi-hid/Cargo.toml b/crates/openlogi-hid/Cargo.toml index 59b2b70b..8c38646b 100644 --- a/crates/openlogi-hid/Cargo.toml +++ b/crates/openlogi-hid/Cargo.toml @@ -34,6 +34,9 @@ windows-sys = { workspace = true, features = [ # exposed when Win32_Security is also enabled. "Win32_Security", "Win32_Storage_FileSystem", + # WriteFile's signature references OVERLAPPED, so windows-sys 0.61.2 gates + # it behind Win32_System_IO as well. + "Win32_System_IO", ] } [lints]