about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgvozdvmozgu <gvozdvmozgu@gmail.com>2025-01-17 08:44:50 -0800
committergvozdvmozgu <gvozdvmozgu@gmail.com>2025-01-17 08:44:50 -0800
commit3ce55e949e4dcb2e51c93ea211530947a4c86bab (patch)
tree8ba30608de3da4f84d84f6c3dd0d1b071cd6650b
parentff5c32f5424b439e7c510a74feb1d7d4f01ab6ae (diff)
downloadrust-3ce55e949e4dcb2e51c93ea211530947a4c86bab.tar.gz
rust-3ce55e949e4dcb2e51c93ea211530947a4c86bab.zip
add missing `Win32_Foundation` feature
-rw-r--r--src/tools/rust-analyzer/crates/profile/Cargo.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/profile/Cargo.toml b/src/tools/rust-analyzer/crates/profile/Cargo.toml
index 2e3413f339b..5eb746f86a6 100644
--- a/src/tools/rust-analyzer/crates/profile/Cargo.toml
+++ b/src/tools/rust-analyzer/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 = []