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 breaking changes with latest zig #20

Closed

Conversation

eshom
Copy link

@eshom eshom commented Feb 15, 2025

I really wanted to try out uscope, but couldn't bother building with specific zig version. So I bothered making it work latest zig master.

Fixes issues caused by the following PRs:

- use new runtime pageSize()
- popOrNull is now just pop. Added assertions where needed.
@jcalabro
Copy link
Owner

but couldn't bother building with specific zig version

Please build only with the specific zig version as noted in zig_version.txt. We intentionally pin to that exact version because that is the version that is supported by zig-gamedev (Mach nominated zig), on which we depend.

This PR is unacceptable because it introduces changes that cause building with 0.14.0-dev.2577+271452d22 to fail.

Please build uscope only with the exact correct version of zig. If you're using zigup, you can do:

zigup --index https://machengine.org/zig/index.json fetch 2024.11.0-mach
zigup run 0.14.0-dev.2577+271452d22 build -Doptimize=ReleaseSafe -Drelease

@jcalabro jcalabro closed this Feb 15, 2025
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