Skip to content

Commit

Permalink
📝 update windows-sys to 0.53
Browse files Browse the repository at this point in the history
  • Loading branch information
Xudong-Huang committed Feb 27, 2024
1 parent 98f66ea commit 605b7ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exclude = [


[target.'cfg(windows)'.dependencies.windows]
version = "0.51.1"
version = "0.53"
features = [
"Win32_System_Memory",
"Win32_System_Kernel",
Expand Down
5 changes: 4 additions & 1 deletion tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,10 @@ fn test_inner_ref() {
// teardown happened when the generator get dropped
// this is just a safe dummy ret
static mut RET: u32 = 0;
unsafe { &mut RET }
#[allow(static_mut_refs)]
unsafe {
&mut RET
}
});

// use the resource setup from generator
Expand Down

0 comments on commit 605b7ba

Please sign in to comment.