Skip to content

Commit

Permalink
chore(rust): upgrade to [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz committed Aug 24, 2024
1 parent 24b6b02 commit 80f0805
Show file tree
Hide file tree
Showing 13 changed files with 163 additions and 92 deletions.
204 changes: 133 additions & 71 deletions rust/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 rust/composition_processor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ globals = { path = "../globals" }
itf_components = { path = "../itf_components" }

[dependencies.windows]
version = "0.56.0"
version = "0.58.0"
features = [
"Win32_Foundation",
"Win32_System_LibraryLoader",
Expand Down
2 changes: 1 addition & 1 deletion rust/globals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ name = "globals"
crate-type = ["rlib", "staticlib"]

[dependencies]
windows = "0.56.0"
windows = "0.58.0"
4 changes: 2 additions & 2 deletions rust/ime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ crate-type = ["rlib", "staticlib"]

[dependencies]
globals = { path = "../globals" }
winreg = "0.10.1"
winreg = "0.52.0"

[dependencies.windows]
version = "0.56.0"
version = "0.58.0"
features = [
"Win32_Graphics_Gdi",
"Win32_System_Com",
Expand Down
2 changes: 1 addition & 1 deletion rust/ime/src/dll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use windows::Win32::Foundation::{E_FAIL, HMODULE, S_OK};
use crate::registry;

#[no_mangle]
pub static mut DLL_INSTANCE: HMODULE = HMODULE(0);
pub static mut DLL_INSTANCE: HMODULE = HMODULE(std::ptr::null_mut());

#[no_mangle]
#[allow(non_snake_case)]
Expand Down
Loading

0 comments on commit 80f0805

Please sign in to comment.