-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[deps] Platform: Update Rust crate windows to v0.58.0 #10580
base: main
Are you sure you want to change the base?
Conversation
Internal tracking:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #10580 +/- ##
==========================================
- Coverage 33.48% 33.45% -0.03%
==========================================
Files 2844 2845 +1
Lines 89044 89099 +55
Branches 16987 16992 +5
==========================================
- Hits 29812 29810 -2
- Misses 56887 56943 +56
- Partials 2345 2346 +1 ☔ View full report in Codecov by Sentry. |
cfaf2e3
to
c1c6a86
Compare
c1c6a86
to
3e328f1
Compare
3e328f1
to
7f9c70b
Compare
d549e3f
to
0a6b0e4
Compare
This comment was marked as resolved.
This comment was marked as resolved.
5436564
to
f795173
Compare
f795173
to
06c107e
Compare
91575a6
to
50c74c8
Compare
Fixed Issues
|
@@ -174,7 +176,7 @@ fn focus_security_prompt() -> Result<()> { | |||
class_name: windows::core::PCSTR, | |||
) -> retry::OperationResult<(), ()> { | |||
let hwnd = unsafe { FindWindowA(class_name, None) }; | |||
if hwnd.0 != 0 { | |||
if let Ok(hwnd) = hwnd { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The windows crate now maps the returning null pointer to an error, so we don't have to manually check that it's not null: https://github.com/microsoft/windows-rs/blob/a8e14c75581bb89fc244ad480f98567be972aea2/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs#L909
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
=0.57.0
->=0.58.0
Release Notes
microsoft/windows-rs (windows)
v0.58.0
Compare Source
This release includes updates to metadata for new or fixed API definitions (#3111, #3136), various improvements and fixes to code generation, compliance with new Rust warnings, additional COM authoring support improvements (#3065), limited non-Windows support (#3135), and more.
It includes major updates to the following crates, mainly due to breaking changes in metadata for API definitions.
riddle
0.58.0windows
0.58.0windows-bindgen
0.58.0windows-core
0.58.0windows-implement
0.58.0windows-interface
0.58.0windows-metadata
0.58.0It also includes major updates to the following utility crates.
windows-result
0.2.0windows-registry
0.2.0The
windows-result
crate now provides limited non-Windows support, and thewindows-registry
crate offers new lossless queries for binary and wide string values.And it includes minor updates to the
windows-targets
crates, with the addition of several new APIs.windows-targets
0.52.6This release also includes the first published version of the
windows-strings
crate, moving the string types from thewindows-core
crate into a dedicated crate as a smaller dependency. It also offers an efficientHSTRING
builder (#3133).To clarify, the only crates that continue to support limited non-Windows builds are:
windows-bindgen
andwindows-metadata
for code generation on non-Windows platforms.windows-core
andwindows-result
for COM support on non-Windows platforms.What's Changed
rustfmt
for repo by @kennykerr in https://github.com/microsoft/windows-rs/pull/3084windows-bindgen
directly by @kennykerr in https://github.com/microsoft/windows-rs/pull/3086windows-result
to work on non-Windows platforms by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3082Debug
derive macro does not need to be qualified by @kennykerr in https://github.com/microsoft/windows-rs/pull/3097unused
to deal with new warning about "unused" private fields in structs by @kennykerr in https://github.com/microsoft/windows-rs/pull/3103mio
dependency by @kennykerr in https://github.com/microsoft/windows-rs/pull/3107windows
crate works by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3110cargo run ...
by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3113windows
andwindows-sys
in unit test mode by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3112windows-strings
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/3125windows-core
internals by @kennykerr in https://github.com/microsoft/windows-rs/pull/3129windows-bindgen
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3130Error
andResult<()>
to be the same size asHRESULT
by @sivadeilra in https://github.com/microsoft/windows-rs/pull/3126windows-core
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/3131windows_slim_errors
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3132HSTRING
builder and registry support by @kennykerr in https://github.com/microsoft/windows-rs/pull/3133Send
andSync
forWeak<T>
by @kennykerr in https://github.com/microsoft/windows-rs/pull/3138Future
implementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/3142HSTRING
builder provides initialized memory by @kennykerr in https://github.com/microsoft/windows-rs/pull/3141windows-strings
crate Windows-only by @kennykerr in https://github.com/microsoft/windows-rs/pull/3143Full Changelog: microsoft/windows-rs@0.57.0...0.58.0
Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year 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.
This PR was generated by Mend Renovate. View the repository job log.