Skip to content

Commit

Permalink
chore(deps): update windows crate to 0.54 (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Mar 20, 2024
1 parent 0c91351 commit 1567a7a
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 30 deletions.
5 changes: 5 additions & 0 deletions .changes/window-0-54.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cargo-mobile2": "patch"
---

Update `windows` crate to `0.54`
68 changes: 39 additions & 29 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.52"
version = "0.54"
features = [
"Win32_Foundation",
"Win32_Security",
Expand Down
1 change: 1 addition & 0 deletions src/os/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ fn open_file_with_android_studio(path: impl AsRef<OsStr>, env: &Env) -> Result<(
&mut buffer,
0,
)
.ok()
.map_err(|e| OpenFileError::IOError(e.into()))?
};
let len = NullTerminatedWTF16Iterator(buffer.as_ptr()).count();
Expand Down

0 comments on commit 1567a7a

Please sign in to comment.