diff options
| author | divens <divens@users.noreply.github.com> | 2026-02-23 16:40:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-23 16:40:51 +0100 |
| commit | c80786f4ff54d2df7cb826f4cb9ed766e8f42bf4 (patch) | |
| tree | 0f6bbcbc0cf572175b73a193443f1ba24b70019e /zellij-utils/src/kdl/mod.rs | |
| parent | docs(changelog): preserve cwd for editor panes (diff) | |
| download | sl0ppij-c80786f4ff54d2df7cb826f4cb9ed766e8f42bf4.tar.gz sl0ppij-c80786f4ff54d2df7cb826f4cb9ed766e8f42bf4.tar.xz sl0ppij-c80786f4ff54d2df7cb826f4cb9ed766e8f42bf4.zip | |
[Windows port PR7] refactor: upgrade sysinfo and add cross-compilation proof (#4759)
* refactor: platform-abstract path constants
Add #[cfg(not(unix))] counterpart to unix_only module in consts.rs so
path constants compile on non-Unix platforms. Move nix dependency to
cfg(unix)-only in both zellij-utils and root crate.
* refactor: Windows cross-compilation proof
Enable all 5 core crates to compile for x86_64-pc-windows-gnu by fixing
dependency issues and upgrading sysinfo. This validates that PRs 1.1–7.1
correctly gated all Unix-specific code behind cfg attributes.
- Enable crossterm "windows" feature in workspace deps (no-op on non-Windows)
- Remove dead mio dependency from zellij-client (zero imports)
- Add Windows cross-compilation linker config to .cargo/config.toml
- Upgrade sysinfo 0.22.5 → 0.33 (drops ntapi v0.3.7 packed struct UB)
- Remove deprecated ProcessExt/SystemExt trait imports
- Pid::from(i32) → Pid::from_u32(u32)
- process.cwd() now returns Option<&Path>
- process.cmd() now returns &[OsString]
- Use precise ProcessRefreshKind (nothing + with_cwd/with_cmd)
---------
Co-authored-by: divens <divens.dev@gmail.com>
Diffstat (limited to 'zellij-utils/src/kdl/mod.rs')
0 files changed, 0 insertions, 0 deletions
