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

Latest zig 0.14.0 has changes to the build.zig.zon file #474

Open
zigster64 opened this issue Mar 10, 2025 · 0 comments
Open

Latest zig 0.14.0 has changes to the build.zig.zon file #474

zigster64 opened this issue Mar 10, 2025 · 0 comments

Comments

@zigster64
Copy link
Contributor

At least its officially out now, so this wont need to change again for a while

Some major changes to how build.zig.zon works, as documented here
https://ziglang.org/download/0.14.0/release-notes.html#New-Package-Hash-Format

It's annoying, but it looks like it has some major benefits.

The most noticeable is incremental compilation and proper caching of libxlswriter build artifacts. Super fast compilation.

Everything still works fine without this, but without these changes it's treated as a "legacy" package, and does unecessary fetches and compiles when developing. Dev experience is much better with these changes applied

I have a PR for this - but you might need to generate a different fingerprint for various reasons (?? not exactly sure ??)
And I have a matching PR on @kassane 's zig-xlswriter pkg as well

Have tested all this on my ERP app that uses all this, and it fixes all the build issues

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

No branches or pull requests

1 participant