[GH-ISSUE #474] Latest zig 0.14.0 has changes to the build.zig.zon file #371

Closed
opened 2026-05-05 12:13:02 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @zigster64 on GitHub (Mar 10, 2025).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/474

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

Originally created by @zigster64 on GitHub (Mar 10, 2025). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/474 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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#371
No description provided.