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

Update to latest zig 0.12.0dev while keeping 0.11.0 compatibility #3715

Merged
merged 2 commits into from
Jan 11, 2024
Merged

Update to latest zig 0.12.0dev while keeping 0.11.0 compatibility #3715

merged 2 commits into from
Jan 11, 2024

Conversation

freakmangd
Copy link
Contributor

The recent 0.12.0dev update caused some breakage in the build system.

This method does require the use of anytype, but the argument name and type checks should make it obvious what type it expects. This should not break any existing code.

Tested on linux with zig 0.12.0dev and 0.11.0

raylib$ zig build
raylib$ zigup run 0.11.0 build
raylib$ cd examples/
raylib/examples$ zig build
raylib/examples$ zigup run 0.11.0 build

Once 0.12.0 is released we can remove all of these compatibility functions

@raysan5 raysan5 merged commit 482722d into raysan5:master Jan 11, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Jan 11, 2024

@freakmangd Thanks for the review!

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