Skip to content

Commit

Permalink
Merge pull request rust-lang#18963 from gvozdvmozgu/Win32_Foundation
Browse files Browse the repository at this point in the history
add missing `Win32_Foundation` feature
  • Loading branch information
lnicola authored Jan 17, 2025
2 parents ff5c32f + 3ce55e9 commit 6c1b1a1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tools/rust-analyzer/crates/profile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 6c1b1a1

Please sign in to comment.