Skip to content

Update to zig 0.14.0 #2217

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 1 commit into
base: master
Choose a base branch
from

Conversation

RoadRoller01
Copy link

I have just edited build.zig.zon,
and added .zig-cache to .gitignore

Discussion:
if you have unicorn installed system wide and tried to build the project, it will
panic about not finding the unicorn/build dir.

if you haven't unicorn installed system wide it will panic about not finding the unicorn library instead of building it

its seems that you could force it to build by running zig build cmake
but it will error with

error: unsupported linker arg: --dependency-file=CMakeFiles/unicorn.dir/link.d

I prefer dropping down cmake and use the zig build system it seems that someone have ported unicorn to it. here

@wtdcode
Copy link
Member

wtdcode commented Jul 18, 2025

I prefer dropping down cmake and use the zig build system it seems that someone have ported unicorn to it. here

I agree with this and contributions are highly welcome.

@vesim987
Copy link

vesim987 commented Aug 9, 2025

I can upstream my build.zig if you want, iirc building for Linux and MacOS was working, windows build failed due to missing some compiler built in

@wtdcode
Copy link
Member

wtdcode commented Aug 10, 2025

I can upstream my build.zig if you want, iirc building for Linux and MacOS was working, windows build failed due to missing some compiler built in

We accept the improvements for bindings as long as CI is green in most case.

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.

3 participants