From bc6689d9aaafde27068ca43edf0753e84656e20b Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Thu, 10 Aug 2023 00:34:04 +0300 Subject: [PATCH] Add the winerror feature to winit This fixes the build on Windows --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 993680b..3d9c3de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ tokio = { version = "1.7.0", features = ["net", "time"] } libc = "0.2.65" [target.'cfg(windows)'.dependencies] -winapi = { version = "0.3", features = ["winbase", "winnt", "accctrl", "aclapi", "securitybaseapi", "minwinbase", "winbase"] } +winapi = { version = "0.3", features = ["winbase", "winnt", "accctrl", "aclapi", "securitybaseapi", "minwinbase", "winbase", "winerror"] } [dev-dependencies] tokio = { version = "1.7.0", features = ["io-util", "rt", "time", "macros"] }