Skip to content

Support for zig 0.14.0 #42

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

mrexodia
Copy link

Not really for merging, just a continuation of #41 that builds locally with the latest zig release. I updated the default toolchain versions and fixed the build on macos, but it's just for reference for others.

@ikskuh
Copy link
Owner

ikskuh commented Apr 16, 2025

Ping me, when you are ready to merge!

@mrexodia
Copy link
Author

Ping me, when you are ready to merge!

#41 (comment)

This comment was not addressed and this is my first time writing Zig. The main issue I am running into is when building -Dexample=invocationhandler. It looks like the generation of classes.dex is failing because the path is absolute, when it should be relative. The confusing part is that the path is an absolute path somewhere in the build folder, but zig complains that it has to be relative to the project root?

Otherwise everything appears to build fine now.

@ikskuh
Copy link
Owner

ikskuh commented Apr 16, 2025

I'm trying to take a look at the weekend!

@eamonburns
Copy link

Something to note is that nix develop doesn't work. I am looking into fixing it (I have pretty much no nix experience, so it might take a while)

My discoveries so far are that running nix flake update and pinning the zig version to 0.14.0 is getting me farther than without.

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.

6 participants