Skip to content

fix: Windows build - gate Unix-only APIs - #51

Merged
chinkan merged 2 commits into
mainfrom
fix/windows-build
Aug 7, 2026
Merged

fix: Windows build - gate Unix-only APIs#51
chinkan merged 2 commits into
mainfrom
fix/windows-build

Conversation

@chinkan

@chinkan chinkan commented Aug 7, 2026

Copy link
Copy Markdown
Owner

command_tool.rs used .process_group(0) and nix killpg unconditionally; Windows target lacks both. Shell now per-platform (cmd /C vs sh -c). Also added Windows target to check-compile.yml so PRs catch Windows compile errors before release. Verified: cargo check/fmt/clippy/test green on Linux.

chinkan added 2 commits August 7, 2026 10:40
process_group(0) and nix killpg are Unix-only; cmd /C used on Windows.
Windows cancel kills only the shell process (no process-group tree kill).
Release workflow only builds Windows on tag push, so Windows-only
compile errors (process_group, nix killpg) bypassed PR CI entirely.
@chinkan
chinkan merged commit bbc1feb into main Aug 7, 2026
7 checks passed
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