Skip to content

ai generated windows build, untested #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cwlbraa
Copy link
Collaborator

@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
Collaborator 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
Collaborator 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