[GH-ISSUE #401] Feature Request: Add zig package #317

Closed
opened 2026-05-05 12:08:46 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @kassane on GitHub (Apr 25, 2023).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/401

The purpose of this proposal is to allow Zig developers to use libxlsxwriter in their projects without the need for git modules or any other external tool.

zig-pkg is still experimental and will be available in the v0.11.0 release - expected at the end of May.

Theoretically it works similar to go mod or fetchContent (cmake).

Originally created by @kassane on GitHub (Apr 25, 2023). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/401 The purpose of this proposal is to allow Zig developers to use libxlsxwriter in their projects without the need for git modules or any other external tool. `zig-pkg` is still experimental and will be available in the v0.11.0 release - expected at the end of May. Theoretically it works similar to `go mod` or `fetchContent (cmake)`.
Author
Owner

@kassane commented on GitHub (May 12, 2023):

@jmcnamara ,

My upgrade with all deps, see:

Still don't understand why GH-action on linux and macOS are getting error during download of zlib (zig-pkg).
After testing on my linux machine, it worked the same on the Windows machine mentioned above!
https://github.com/kassane/libxlsxwriter/actions/runs/4959441372

58dde43713/build.zig.zon (L1-L10)

changelog: https://github.com/jmcnamara/libxlsxwriter/compare/main...kassane:libxlsxwriter:pkg-update

<!-- gh-comment-id:1545783956 --> @kassane commented on GitHub (May 12, 2023): @jmcnamara , My upgrade with all deps, see: - Windows: https://github.com/kassane/libxlsxwriter/actions/runs/4959441372/jobs/8873814165#step:4:1 Still don't understand why GH-action on linux and macOS are getting error during download of zlib (zig-pkg). After testing on my linux machine, it worked the same on the Windows machine mentioned above! https://github.com/kassane/libxlsxwriter/actions/runs/4959441372 https://github.com/jmcnamara/libxlsxwriter/blob/58dde43713d3d51fdd3fe65db67f3af6afbcc272/build.zig.zon#L1-L10 changelog: https://github.com/jmcnamara/libxlsxwriter/compare/main...kassane:libxlsxwriter:pkg-update
Author
Owner

@jmcnamara commented on GitHub (Jun 4, 2025):

@kassane

The libxlsxwriter zig CI/GitHub action is failing on main. It looks like a CI issue since the code hasn't changed. Could you have a look.

<!-- gh-comment-id:2940614334 --> @jmcnamara commented on GitHub (Jun 4, 2025): @kassane The libxlsxwriter zig CI/GitHub action is failing on main. It looks like a CI issue since the code hasn't changed. Could you have a look.
Author
Owner

@kassane commented on GitHub (Jun 4, 2025):

@kassane

The libxlsxwriter zig CI/GitHub action is failing on main. It looks like a CI issue since the code hasn't changed. Could you have a look.

update to v2 fix!

<!-- gh-comment-id:2940640200 --> @kassane commented on GitHub (Jun 4, 2025): > [@kassane](https://github.com/kassane) > > The libxlsxwriter zig CI/GitHub action is failing on main. It looks like a CI issue since the code hasn't changed. Could you have a look. update to v2 fix!
Author
Owner

@kassane commented on GitHub (Jun 4, 2025):

@kassane

The libxlsxwriter zig CI/GitHub action is failing on main. It looks like a CI issue since the code hasn't changed. Could you have a look.

By default, CI get latest release v0.14.1. update CI setup-zig@v2.

Since zig v0.14.1 tarball changes rename. Old: <os>-<arch>.<ext> to <arch>-<os>.<ext>

<!-- gh-comment-id:2940660207 --> @kassane commented on GitHub (Jun 4, 2025): > [@kassane](https://github.com/kassane) > > The libxlsxwriter zig CI/GitHub action is failing on main. It looks like a CI issue since the code hasn't changed. Could you have a look. By default, CI get latest release v0.14.1. update CI `setup-zig@v2`. Since zig v0.14.1 tarball changes rename. Old: `<os>-<arch>.<ext>` to `<arch>-<os>.<ext>`
Author
Owner

@jmcnamara commented on GitHub (Jun 4, 2025):

By default, CI get latest release v0.14.1. update CI setup-zig@v2.

Thanks. That worked.

<!-- gh-comment-id:2941262462 --> @jmcnamara commented on GitHub (Jun 4, 2025): > By default, CI get latest release v0.14.1. update CI `setup-zig@v2`. Thanks. That worked.
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#317
No description provided.