Skip to content

chore: upgrade to Zig 0.16.0-dev (master)#9

Draft
lodekeeper-z wants to merge 2 commits intoChainSafe:mainfrom
lodekeeper-z:chore/zig-master
Draft

chore: upgrade to Zig 0.16.0-dev (master)#9
lodekeeper-z wants to merge 2 commits intoChainSafe:mainfrom
lodekeeper-z:chore/zig-master

Conversation

@lodekeeper-z
Copy link

Upgrade to Zig 0.16.0-dev (master) — part of the lodestar-z Zig master upgrade effort.

Key changes:

  • std.iostd.Io migration
  • std.Io.Dir methods now require explicit io parameter
  • Build system changes for 0.16 compatibility

🤖 Generated with AI assistance

- Remove usingnamespace (removed in 0.15): c.zig now exports cImport as .c field
- All imports updated: @import("c.zig") → @import("c.zig").c
- callconv(.C) → callconv(.c) (lowercase)
- napi module requires link_libc = true for @cImport
- Example disabled (TODO: std.time.Timer/sleep moved to std.Io)

🤖 Generated with AI assistance
@wemeetagain wemeetagain marked this pull request as ready for review March 19, 2026 19:59
@wemeetagain wemeetagain marked this pull request as draft March 19, 2026 19:59
@wemeetagain
Copy link
Member

@lodekeeper-z please refresh this PR based on the latest main branch

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

Successfully merging this pull request may close these issues.

2 participants