Skip to content
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

Fix build.zig to allow cross compilation on windows #103

Merged
merged 1 commit into from
May 26, 2024

Conversation

LordAsdi
Copy link
Contributor

By replacing the linux only std.posix.getenv with the cross platform std.process.getEnvVarOwned in build.zig it is now possible to cross compile zap on a windows host.

This allows cross compiling zap on a windows host
@renerocksai
Copy link
Member

Amazing! I can't verify so I have to trust you 😄.

@renerocksai renerocksai merged commit 094d4cf into zigzap:master May 26, 2024
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.

None yet

2 participants