Skip to content

Conversation

@cwlbraa
Copy link
Contributor

@cwlbraa cwlbraa commented Jun 17, 2025

i asked claude to cross compile to windows.

it hit a build error in go-watch (makes sense, a lot of unix-specific tty stuff in there)

but then it kept going and gave me this. if you've got a windows dev setup and windows knowledge you could check out this branch,

GOOS=windows go build -o cu.exe ./cmd/cu

and see what's broken?

@grouville
Copy link
Member

We could test today

@cwlbraa
Copy link
Contributor Author

cwlbraa commented Jun 17, 2025

@jpadams and i just gave it a quick test. one problem is /tmp doesn't exist by default on windows, but after creating that cu.exe stdio starts up and runs.

the windows watch impl the agent added is not great, it flashes a lot.

@cwlbraa
Copy link
Contributor Author

cwlbraa commented Jun 17, 2025

if err := exec.Command("cp", "-r", srcPath, destPath).Run(); err != nil {
return fmt.Errorf("failed to copy untracked file %s: %w", file, err)
}
is also problematic on windows when users have untracked files. cp is not a thing there.

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.

2 participants