From 790d4ac0117fa15a061a9cf785af856a2e02d0c8 Mon Sep 17 00:00:00 2001 From: gvozdvmozgu Date: Fri, 17 Jan 2025 08:44:50 -0800 Subject: [PATCH] add missing `Win32_Foundation` feature --- crates/profile/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/profile/Cargo.toml b/crates/profile/Cargo.toml index 2e3413f339b6..5eb746f86a61 100644 --- a/crates/profile/Cargo.toml +++ b/crates/profile/Cargo.toml @@ -21,7 +21,11 @@ jemalloc-ctl = { version = "0.5.0", package = "tikv-jemalloc-ctl", optional = tr perf-event = "=0.4.7" [target.'cfg(windows)'.dependencies] -windows-sys = { version = "0.52", features = ["Win32_System_Threading", "Win32_System_ProcessStatus"] } +windows-sys = { version = "0.52", features = [ + "Win32_Foundation", + "Win32_System_Threading", + "Win32_System_ProcessStatus", +] } [features] cpu_profiler = []