unicorn icon indicating copy to clipboard operation
unicorn copied to clipboard

Update to zig 0.14.0

Open RoadRoller01 opened this issue 5 months ago • 3 comments

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

RoadRoller01 avatar Jul 17 '25 18:07 RoadRoller01

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.

wtdcode avatar Jul 18 '25 03:07 wtdcode

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

vesim987 avatar Aug 09 '25 20:08 vesim987

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.

wtdcode avatar Aug 10 '25 01:08 wtdcode