Skip to content

Commit

Permalink
chore(deps): update windows crate to 0.58
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Aug 15, 2024
1 parent 530e7f4 commit 80f665c
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 44 deletions.
5 changes: 5 additions & 0 deletions .changes/windows-0.58.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cargo-mobile2": "patch"
---

Update `windows` crate to `0.58`
95 changes: 53 additions & 42 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ freedesktop_entry_parser = "1.3"
libc = "0.2"

[target."cfg(windows)".dependencies.windows]
version = "0.57"
version = "0.58"
features = [
"Win32_Foundation",
"Win32_Security",
Expand Down
2 changes: 1 addition & 1 deletion src/os/windows/ln.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn delete_symlink(filename: &Path) -> Result<(), core::Error> {
None,
OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_DELETE_ON_CLOSE,
HANDLE(0),
HANDLE(std::ptr::null_mut()),
)
} {
unsafe { CloseHandle(handle)? };
Expand Down

0 comments on commit 80f665c

Please sign in to comment.