Skip to content

Commit

Permalink
Merge pull request #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 cd199ea + 790d4ac commit f61bfa4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 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 f61bfa4

Please sign in to comment.