Skip to content

Commit

Permalink
chore(deps): update rust crate windows-sys to 0.52.0 (#23)
Browse files Browse the repository at this point in the history
* chore(deps): update rust crate windows-sys to 0.52.0

* fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: amrbashir <[email protected]>
  • Loading branch information
renovate[bot] and amrbashir committed Nov 16, 2023
1 parent 795d8dc commit 86b96b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = "MIT or Apache-2.0"
pluginapi = { path = "./crates/pluginapi" }

[workspace.dependencies.windows-sys]
version = "0.48.0"
version = "0.52.0"
features = [
"Win32_Foundation",
"Win32_Globalization",
Expand Down
3 changes: 2 additions & 1 deletion crates/pluginapi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ use std::{
};

use windows_sys::Win32::{
Foundation::GlobalFree,
Globalization::{lstrcpyW, lstrcpynW},
System::Memory::{GlobalAlloc, GlobalFree, GPTR},
System::Memory::{GlobalAlloc, GPTR},
};

static mut G_STRINGSIZE: u32 = 0;
Expand Down

0 comments on commit 86b96b6

Please sign in to comment.