-
Notifications
You must be signed in to change notification settings - Fork 606
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
windows: add support for the glfw backend #773
Conversation
1ec8a97
to
073e5dc
Compare
This is the crash that currently happens when starting up in a ReleaseSafe build. Debug is fine.
|
@kcbanner Update, it's already merged. 😃 |
Btw the macOS CI failure seems legit. I can fix that myself later today. |
690e008
to
a3b77dd
Compare
This looks good. I want to get my windows environment up to verify this and that may take a few days but thanks for doing this, excited to review it! 😄 |
Sorry taking a bit longer to find time to verify this and do some review. The newborn at home has required more attention recently so finding a long enough period to grab my windows machine has been a chore. I'll get there! Sorry. |
Maybe you know this but with Parallels you can install Windows on macOS. |
Changes: - Add WindowsPty, which uses the ConPTY API to create a pseudo console - Pty now selects between PosixPty and WindowsPty - Windows support in Command, including the ability to launch a process with a pseudo console - Enable Command tests on windows - Add some environment variable abstractions to handle the missing libc APIs on Windows - Windows version of ReadThread
- Fixup macos compile error
a3b77dd
to
9a5322e
Compare
Okay got my win machine up and can confirm this works great. I'm going to make some tweaks but this is close! |
Okay, all cleaned up to my personal opinions :) I only found one actual bug: the locale fallback for macOS had some invalid logic (it should've also ran if I also got CI running for windows builds via cross-compile, since the GLFW build can be cross-compiled. I'll work on native windows another time. Will merge once green. |
Awesome! Thanks for the fixups! |
I may have broken something somehow in my edits, "exit" out of the console seems to hang and I don't remember it doing that initially. I'll take a look sometime but just noting that... |
|
Do you happen to see |
These changes depend on this libxev PR mitchellh/libxev#73. I will update the reference inbuild.zig.zon
once merged.Changes:
Remaining TODOs: