Skip to content

Support for zig 0.14.0#42

Closed
mrexodia wants to merge 8 commits into
ikskuh:masterfrom
mrexodia:zig-0.14.0
Closed

Support for zig 0.14.0#42
mrexodia wants to merge 8 commits into
ikskuh:masterfrom
mrexodia:zig-0.14.0

Conversation

@mrexodia

Copy link
Copy Markdown

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

ikskuh commented Apr 16, 2025

Copy link
Copy Markdown
Owner

Ping me, when you are ready to merge!

@mrexodia

Copy link
Copy Markdown
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

ikskuh commented Apr 16, 2025

Copy link
Copy Markdown
Owner

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

@eamonburns

Copy link
Copy Markdown

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.

@mrexodia mrexodia closed this Jul 10, 2026
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