Skip to content

Commit

Permalink
Update windows requirement from 0.52.0 to 0.53.0
Browse files Browse the repository at this point in the history
Updates the requirements on [windows](https://github.com/microsoft/windows-rs) to permit the latest version.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](microsoft/windows-rs@0.52.0...0.53.0)

---
updated-dependencies:
- dependency-name: windows
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and Ortham committed Feb 27, 2024
1 parent c914c8d commit efc6d8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ keyvalues-parser = "0.2.0"

[target.'cfg(windows)'.dependencies]
dirs = "5.0"
windows = { version = "0.52.0", features = ["Foundation_Collections", "System_UserProfile"] }
windows = { version = "0.53.0", features = ["Foundation_Collections", "System_UserProfile"] }

[dev-dependencies]
criterion = "0.5.1"
Expand Down
2 changes: 1 addition & 1 deletion ffi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
endif ()

if (MSVC)
set (SYSTEM_LIBS ntdll ws2_32 Userenv bcrypt)
set (SYSTEM_LIBS ntdll windowsapp Userenv Propsys)
endif ()

set (LIBLOADORDER_FFI_LIBRARY "${CMAKE_SOURCE_DIR}/../target/debug/${CMAKE_STATIC_LIBRARY_PREFIX}loadorder_ffi${CMAKE_STATIC_LIBRARY_SUFFIX}")
Expand Down
2 changes: 1 addition & 1 deletion src/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ impl From<keyvalues_parser::error::Error> for Error {
#[cfg(windows)]
impl From<windows::core::Error> for Error {
fn from(error: windows::core::Error) -> Self {
Error::SystemError(error.code().0, error.message().to_os_string())
Error::SystemError(error.code().0, error.message().into())
}
}

Expand Down

0 comments on commit efc6d8e

Please sign in to comment.