Skip to content

Zig ergonomics#65

Merged
treeform merged 1 commit into
masterfrom
zig-ergonomics
May 25, 2026
Merged

Zig ergonomics#65
treeform merged 1 commit into
masterfrom
zig-ergonomics

Conversation

@treeform
Copy link
Copy Markdown
Owner

@treeform treeform commented May 25, 2026

  • Emit Zig Error!T wrappers for Nim APIs that can raise, so Zig callers use normal try / catch flow.
  • Check the generated checkError() flag before converting raw ABI return values back into Zig values.
  • Omit explicit callconv(.C) on extern fn declarations for Zig version compatibility, and update Zig tests to use std.debug.print.
  • Update the Pixie Zig test to exercise the new error-union API and assert the bad-color error path.

@treeform treeform marked this pull request as ready for review May 25, 2026 18:17
@treeform treeform merged commit 2ef7f66 into master May 25, 2026
7 checks passed
@treeform treeform mentioned this pull request May 25, 2026
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.

1 participant