From 98225aa54e1a8019a4fe1fef322c8b9d7badf957 Mon Sep 17 00:00:00 2001 From: Ofer Chen Date: Sat, 2 May 2026 03:58:57 +0300 Subject: [PATCH] fix(metadata): add Win32_System_SystemServices feature for ACL build (#1866) PR #3544 moved the ACCESS_ALLOWED_ACE_TYPE import to windows::Win32::System::SystemServices to match windows-rs 0.62, but did not add the corresponding Cargo feature to Cargo.toml. This left the import unresolved on Windows targets: error[E0432]: unresolved import `windows::Win32::System::SystemServices` --> crates/metadata/src/acl_windows.rs:67:30 | 67 | use windows::Win32::System::SystemServices::ACCESS_ALLOWED_ACE_TYPE; | ^^^^^^^^^^^^^^ could not find `SystemServices` in `System` | = note: the item is gated behind the `Win32_System_SystemServices` feature Add the missing feature to the windows-rs dependency declaration so the ACL code compiles on all Windows toolchains (stable/beta/nightly/GNU). Unblocks: master CI (Windows stable required check), all 11 open PRs. --- crates/metadata/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/metadata/Cargo.toml b/crates/metadata/Cargo.toml index 6464ec2e6..a3eb895f3 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -41,6 +41,7 @@ windows = { version = "0.62", features = [ "Win32_Security", "Win32_Security_Authorization", "Win32_Storage_FileSystem", + "Win32_System_SystemServices", ] } [features]