-
Notifications
You must be signed in to change notification settings - Fork 635
Open
Description
When building with cargo install --path . at 764daee I receive:
Compiling sccache v0.12.0 (D:\sccache)
error[E0432]: unresolved import `windows_sys::Win32::System::Threading::CreateProcessW`
--> src\commands.rs:186:81
|
186 | CREATE_NEW_PROCESS_GROUP, CREATE_NO_WINDOW, CREATE_UNICODE_ENVIRONMENT, CreateProcessW,
| ^^^^^^^^^^^^^^ no `CreateProcessW` in `Win32::System::Threading`
Which is due to the Win32_Security missing when using windows-sys version 0.52.
Adding it, fixes the issue:
diff --git i/Cargo.toml w/Cargo.toml
index 4752e8c..5e2f1bc 100644
--- i/Cargo.toml
+++ w/Cargo.toml
@@ -145,14 +145,15 @@ version = "0.1.15"
[target.'cfg(windows)'.dependencies.windows-sys]
features = [
"Win32_Foundation",
"Win32_Globalization",
"Win32_Storage_FileSystem",
"Win32_System_Threading",
"Win32_System_Console",
+ "Win32_Security",
]
version = "0.52"
[features]
all = [
"dist-client",
"redis",Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels