Skip to content

Commit

Permalink
add missing Win32_Foundation feature
Browse files Browse the repository at this point in the history
  • Loading branch information
gvozdvmozgu committed Jan 17, 2025
1 parent cd199ea commit 790d4ac
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 790d4ac

Please sign in to comment.