From 63af0fa23fe5c8960c9bbbe3d2fde67011f59f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Fri, 17 Jan 2025 21:22:18 +0200 Subject: [PATCH] Bump windows-sys --- Cargo.lock | 6 +++--- crates/profile/Cargo.toml | 3 +-- crates/rust-analyzer/Cargo.toml | 5 ++++- crates/stdx/Cargo.toml | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3a7ebb9da443..cdc6aef54a61 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1434,7 +1434,7 @@ dependencies = [ "libc", "perf-event", "tikv-jemalloc-ctl", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -1719,7 +1719,7 @@ dependencies = [ "vfs", "vfs-notify", "walkdir", - "windows-sys 0.52.0", + "windows-sys 0.59.0", "xflags", "xshell", ] @@ -1942,7 +1942,7 @@ dependencies = [ "jod-thread", "libc", "miow", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] diff --git a/crates/profile/Cargo.toml b/crates/profile/Cargo.toml index 5eb746f86a61..3179c810f699 100644 --- a/crates/profile/Cargo.toml +++ b/crates/profile/Cargo.toml @@ -21,8 +21,7 @@ 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_Foundation", +windows-sys = { version = "0.59", features = [ "Win32_System_Threading", "Win32_System_ProcessStatus", ] } diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index d06130ce8c59..c24cbb4a3117 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -76,7 +76,10 @@ vfs.workspace = true paths.workspace = true [target.'cfg(windows)'.dependencies] -windows-sys = { version = "0.52", features = ["Win32_System_Diagnostics_Debug", "Win32_System_Threading"] } +windows-sys = { version = "0.59", features = [ + "Win32_System_Diagnostics_Debug", + "Win32_System_Threading", +] } [target.'cfg(not(target_env = "msvc"))'.dependencies] jemallocator = { version = "0.5.0", package = "tikv-jemallocator", optional = true } diff --git a/crates/stdx/Cargo.toml b/crates/stdx/Cargo.toml index bf0d6df9ad81..d764b3dee70e 100644 --- a/crates/stdx/Cargo.toml +++ b/crates/stdx/Cargo.toml @@ -23,7 +23,7 @@ itertools.workspace = true [target.'cfg(windows)'.dependencies] miow = "0.6.0" -windows-sys = { version = "0.52", features = ["Win32_Foundation"] } +windows-sys = "0.59" [features] # Uncomment to enable for the whole crate graph