Skip to content

Commit

Permalink
chore(deps): update windows crate to 0.58 (#359)
Browse files Browse the repository at this point in the history
* chore(deps): update windows crate to 0.58

* core-foundation crate
  • Loading branch information
amrbashir authored Aug 19, 2024
1 parent f5548f7 commit b1e407c
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 47 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.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ os_pipe = "1"
rstest = "0.19"

[target."cfg(target_os = \"macos\")".dependencies]
core-foundation = "0.9"
core-foundation = "0.10"
x509-certificate = "0.23"
os_info = "3"

Expand All @@ -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
2 changes: 1 addition & 1 deletion templates/apps/dioxus/Cargo.toml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ paste = "1.0"
env_logger = "0.9.0"

[target.'cfg(target_os = "ios")'.dependencies]
core-foundation = "0.9.3"
core-foundation = "0.10"
2 changes: 1 addition & 1 deletion templates/apps/wry/Cargo.toml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ paste = "1.0"
env_logger = "0.9.0"

[target.'cfg(target_os = "ios")'.dependencies]
core-foundation = "0.9.3"
core-foundation = "0.10"

0 comments on commit b1e407c

Please sign in to comment.