Skip to content

fix(desktop): make desktop terminal and sidecars Windows-clean - #4829

Open
weiox wants to merge 1 commit into
block:mainfrom
weiox:fix/windows-clean-sidecars
Open

weiox wants to merge 1 commit into
block:mainfrom
weiox:fix/windows-clean-sidecars

Conversation

@weiox

@weiox weiox commented Aug 5, 2026

Copy link
Copy Markdown

What

Makes the desktop terminal crate and sidecar handling build cleanly on Windows.

Changes

  • Justfile: append .exe to sidecar placeholder names and copied binaries for Windows targets (_ensure-sidecar-stubs, desktop-release-build, desktop-standalone, staging) so Tauri externalBin validation and packaging resolve the correct artifacts.
  • buzz-terminal: gate unix-only imports (std::io, Instant, portable_pty::Child, POLL_INTERVAL) behind #[cfg(unix)] so the crate compiles on Windows.

Verification

  • Cherry-picked onto current main (8342dfcc5), applies cleanly.
  • DCO signed; CI runs the full gate.

- Justfile: append `.exe` to sidecar placeholder and copied binary names
  for Windows targets (ensure-sidecar-stubs, desktop-release-build,
  desktop-standalone, staging) so Tauri externalBin validation and
  packaging resolve the correct artifacts.
- buzz-terminal: gate unix-only imports (std::io, Instant,
  portable_pty::Child, POLL_INTERVAL) behind #[cfg(unix)] so the crate
  compiles on Windows.

Signed-off-by: weiox <836678589@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant