Skip to content

Commit 6c1b1a1

Browse files
authored
Merge pull request rust-lang#18963 from gvozdvmozgu/Win32_Foundation
add missing `Win32_Foundation` feature
2 parents ff5c32f + 3ce55e9 commit 6c1b1a1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/tools/rust-analyzer/crates/profile/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ jemalloc-ctl = { version = "0.5.0", package = "tikv-jemalloc-ctl", optional = tr
2121
perf-event = "=0.4.7"
2222

2323
[target.'cfg(windows)'.dependencies]
24-
windows-sys = { version = "0.52", features = ["Win32_System_Threading", "Win32_System_ProcessStatus"] }
24+
windows-sys = { version = "0.52", features = [
25+
"Win32_Foundation",
26+
"Win32_System_Threading",
27+
"Win32_System_ProcessStatus",
28+
] }
2529

2630
[features]
2731
cpu_profiler = []

0 commit comments

Comments
 (0)