Skip to content

Commit

Permalink
Switch to windows-sys v0.42.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed Jan 4, 2023
1 parent 8314cb3 commit a4e39a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
17 changes: 1 addition & 16 deletions 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/detect-targets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cfg-if = "1.0.0"
guess_host_triple = "0.1.3"

[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.43.0", features = ["Win32_System_Threading", "Win32_System_SystemInformation"] }
windows-sys = { version = "0.42.0", features = ["Win32_System_Threading", "Win32_System_SystemInformation"] }

[dev-dependencies]
tokio = { version = "1.23.0", features = ["macros"], default-features = false }
2 changes: 1 addition & 1 deletion crates/detect-targets/src/detect/windows.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use windows::Win32::System::{
use windows_sys::Win32::System::{
SystemInformation::{IMAGE_FILE_MACHINE, IMAGE_FILE_MACHINE_AMD64},
Threading::{GetMachineTypeAttributes, UserEnabled, Wow64Container, MACHINE_ATTRIBUTES},
};
Expand Down

0 comments on commit a4e39a7

Please sign in to comment.