Skip to content

Commit 5fceec3

Browse files
chrisbbreuerclaude
andcommitted
fix: use Zig 0.15.1 APIs for compatibility with pantry
Replace std.Io.File with std.fs.File, std.Io.File.stdin/stdout/stderr with std.io.getStdIn/getStdOut/getStdErr, remove io parameter from all file/dir operations, use writer() instead of writerStreaming(). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> fix: correct Zig 0.15.1 API usage (std.fs.File.stdin/stdout/stderr) Use std.fs.File.stdin()/stdout()/stderr() instead of std.io.getStdIn()/getStdOut()/getStdErr(). Fix ProgressBar.zig formatting. Use bufPrint + writeAll pattern for output. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> revert: restore Zig 0.16-dev APIs (will upload dev Zig to pantry) Reverts the 0.15.1 API downgrade. The repos should target 0.16-dev. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> fix: restore Zig 0.16-dev APIs and use latest from pantry Revert 0.15.1 API downgrade. CI now installs ziglang.org@latest which resolves to the 0.16-dev build in the pantry registry. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3688d4e commit 5fceec3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest]
16-
zig-version: ['0.15.1']
16+
zig-version: ['latest']
1717
fail-fast: false
1818
steps:
1919
- uses: actions/checkout@v4
@@ -30,5 +30,5 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- uses: home-lang/pantry-setup@v1
3232
with:
33-
packages: ziglang.org@0.15.1
33+
packages: ziglang.org@latest
3434
- run: zig fmt --check .

0 commit comments

Comments
 (0)