From 1309f24c43578301ed23e9326e3147660218aa2e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 08:43:59 -0500 Subject: [PATCH] Update Rust crate windows-sys to 0.59.0 (#5785) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [windows-sys](https://togithub.com/microsoft/windows-rs) | workspace.dependencies | minor | `0.52.0` -> `0.59.0` | --- ### Release Notes
microsoft/windows-rs (windows-sys) ### [`v0.59.0`](https://togithub.com/microsoft/windows-rs/releases/tag/0.59.0) [Compare Source](https://togithub.com/microsoft/windows-rs/compare/0.52.0...0.59.0) This release includes an update to the [windows-sys](https://crates.io/crates/windows-sys) crate only. The `windows-sys` crate is updated very infrequently and only when there is an explicit need to do so. The 0.59.0 release includes a rollup of API fixes, updates, and additions since the [0.52.0](https://togithub.com/microsoft/windows-rs/releases/tag/0.52.0) release nine months ago. Notably: - This update introduces support for Arm64EC ([#​2957](https://togithub.com/microsoft/windows-rs/issues/2957)) - Updated bindings for the latest APIs https://github.com/microsoft/windows-rs/tree/0.59.0/crates/libs/bindgen/default - Derive standard traits ([#​3041](https://togithub.com/microsoft/windows-rs/issues/3041)) - Updates to code generation to handle newer Rust warnings and lints - Overall smaller crate and more efficient code gen to reduce build time - Support for feature search https://microsoft.github.io/windows-rs/features/#/0.59.0 - MSRV is updated to 1.60 **Full Changelog**: https://github.com/microsoft/windows-rs/compare/0.52.0...0.59.0
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/uv). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 2 +- Cargo.toml | 2 +- crates/uv-python/src/discovery.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 81fe10368..83c1cd5df 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 8baa67eed..155da3443 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 ae36283a9..f0b4876ac 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(), ) };