diff --git a/Cargo.lock b/Cargo.lock index 81fe10368f3e..83c1cd5dff3f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5042,7 +5042,7 @@ dependencies = [ "uv-state", "uv-warnings", "which", - "windows-sys 0.52.0", + "windows-sys 0.59.0", "winsafe 0.0.22", ] diff --git a/Cargo.toml b/Cargo.toml index 8baa67eed32d..155da3443de1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -157,7 +157,7 @@ url = { version = "2.5.0" } urlencoding = { version = "2.1.3" } walkdir = { version = "2.5.0" } which = { version = "6.0.0", features = ["regex"] } -windows-sys = { version = "0.52.0", features = ["Win32_Foundation", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Ioctl", "Win32_System_IO"] } +windows-sys = { version = "0.59.0", features = ["Win32_Foundation", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Ioctl", "Win32_System_IO"] } winreg = { version = "0.52.0" } winsafe = { version = "0.0.22", features = ["kernel"] } wiremock = { version = "0.6.0" } diff --git a/crates/uv-python/src/discovery.rs b/crates/uv-python/src/discovery.rs index ae36283a9742..f0b4876ac5d7 100644 --- a/crates/uv-python/src/discovery.rs +++ b/crates/uv-python/src/discovery.rs @@ -1017,7 +1017,7 @@ pub(crate) fn is_windows_store_shim(path: &Path) -> bool { std::ptr::null_mut(), OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT, - 0, + std::ptr::null_mut(), ) };