Skip to content

Commit

Permalink
fix(deps): update rust crate windows-sys to 0.52 (#61)
Browse files Browse the repository at this point in the history
* fix(deps): update rust crate windows-sys to 0.52

* Update util.rs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <[email protected]>
  • Loading branch information
renovate[bot] and amr-crabnebula committed Nov 17, 2023
1 parent 548e440 commit 7f71226
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 3 deletions.
68 changes: 67 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/packager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ uuid = { version = "1", features = [ "v4", "v5" ] }
regex = "1.10"

[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
version = "0.48"
version = "0.52"
features = [
"Win32_System_SystemInformation",
"Win32_System_Diagnostics_Debug"
Expand Down
2 changes: 1 addition & 1 deletion crates/packager/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ pub(crate) enum Bitness {
#[cfg(windows)]
pub(crate) fn os_bitness() -> crate::Result<Bitness> {
use windows_sys::Win32::System::{
Diagnostics::Debug::{PROCESSOR_ARCHITECTURE_AMD64, PROCESSOR_ARCHITECTURE_INTEL},
SystemInformation::{PROCESSOR_ARCHITECTURE_AMD64, PROCESSOR_ARCHITECTURE_INTEL},
SystemInformation::{GetNativeSystemInfo, SYSTEM_INFO},
};

Expand Down

0 comments on commit 7f71226

Please sign in to comment.