Skip to content

feat: add compat layer for Zig 0.16 and 0.17 - #212

Open
samooth wants to merge 1 commit into
vrischmann:masterfrom
samooth:feat/compat-0.16-0.17
Open

feat: add compat layer for Zig 0.16 and 0.17#212
samooth wants to merge 1 commit into
vrischmann:masterfrom
samooth:feat/compat-0.16-0.17

Conversation

@samooth

@samooth samooth commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Zig 0.17 renamed std.builtin.Type to std.lang.Type and reshaped the type-introspection payloads (fields split into field_names/field_types, params renamed to param_types, Fn.is_var_args moved to Fn.attrs.varargs).

Add compat.zig with version-gated helpers so sqlite.zig, vtab.zig, and test.zig work unchanged on both 0.16 and 0.17.

Zig 0.17 renamed std.builtin.Type to std.lang.Type and reshaped the
type-introspection payloads (fields split into field_names/field_types,
params renamed to param_types, Fn.is_var_args moved to Fn.attrs.varargs).

Add compat.zig with version-gated helpers so sqlite.zig, vtab.zig, and
test.zig work unchanged on both 0.16 and 0.17.
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