diff options
| author | divens <divens@users.noreply.github.com> | 2026-05-06 17:02:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-06 17:02:10 +0200 |
| commit | cc86e31b840cfd1993f256513047dfe980408398 (patch) | |
| tree | 0292baf8bcc5dbb109cef03e1623c9ccdf98b9cd /Cargo.lock | |
| parent | Independent tab sizes (#5133) (diff) | |
| download | sl0ppij-cc86e31b840cfd1993f256513047dfe980408398.tar.gz sl0ppij-cc86e31b840cfd1993f256513047dfe980408398.tar.xz sl0ppij-cc86e31b840cfd1993f256513047dfe980408398.zip | |
fix(windows): bump windows-sys to 0.59 (#5139)
The workspace `windows-sys` constraint was pinned to 0.52 while the
Windows source uses APIs and namespaces from 0.59 (e.g. WriteFile in
Win32::Storage::FileSystem). CI built fine because Cargo.lock pinned
0.59, but downstream `cargo install`/`cargo binstall` did fresh
resolution and selected 0.52, breaking the build for users on Windows.
Align the manifest with the code:
- Bump workspace dep `windows-sys` from 0.52 to 0.59.
- HANDLE is now `*mut c_void` instead of `isize`: replace
`handle == 0` / `!= 0` with `is_null()`, initialise HANDLE locals
with `std::ptr::null_mut()`, and pass `null_mut()` as the
hTemplateFile argument to CreateFileW.
- Pass the process HANDLE through the exit-monitor thread as `usize`
(raw pointers are not Send; OS handles are safe to use cross-thread).
- Note: HPCON is still `isize` in 0.59, so its zero-init is unchanged.
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4857,7 +4857,7 @@ dependencies = [ "url", "urlencoding", "uuid", - "windows-sys 0.52.0", + "windows-sys 0.59.0", "zellij-utils", ] @@ -4907,7 +4907,7 @@ dependencies = [ "vte 0.11.0", "wasmi", "wasmi_wasi", - "windows-sys 0.52.0", + "windows-sys 0.59.0", "zellij-utils", ] @@ -4983,7 +4983,7 @@ dependencies = [ "url", "uuid", "winapi", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] |
