Merge pull request #18963 from gvozdvmozgu/Win32_Foundation

add missing `Win32_Foundation` feature
This commit is contained in:
Laurențiu Nicola 2025-01-17 18:54:57 +00:00 committed by GitHub
commit f61bfa4d7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = []