mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #474] Latest zig 0.14.0 has changes to the build.zig.zon file #371
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#371
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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