Skip to content

Commit 1309f24

Browse files
Update Rust crate windows-sys to 0.59.0 (astral-sh#5785)
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 <details> <summary>microsoft/windows-rs (windows-sys)</summary> ### [`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 ([#&astral-sh#8203;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 ([#&astral-sh#8203;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**: microsoft/windows-rs@0.52.0...0.59.0 </details> --- ### 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. --- - [ ] <!-- rebase-check -->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). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM4LjU2LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImludGVybmFsIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 3eee70d commit 1309f24

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ url = { version = "2.5.0" }
157157
urlencoding = { version = "2.1.3" }
158158
walkdir = { version = "2.5.0" }
159159
which = { version = "6.0.0", features = ["regex"] }
160-
windows-sys = { version = "0.52.0", features = ["Win32_Foundation", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Ioctl", "Win32_System_IO"] }
160+
windows-sys = { version = "0.59.0", features = ["Win32_Foundation", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Ioctl", "Win32_System_IO"] }
161161
winreg = { version = "0.52.0" }
162162
winsafe = { version = "0.0.22", features = ["kernel"] }
163163
wiremock = { version = "0.6.0" }

crates/uv-python/src/discovery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ pub(crate) fn is_windows_store_shim(path: &Path) -> bool {
10171017
std::ptr::null_mut(),
10181018
OPEN_EXISTING,
10191019
FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT,
1020-
0,
1020+
std::ptr::null_mut(),
10211021
)
10221022
};
10231023

0 commit comments

Comments
 (0)