Skip to content

update to Zig 0.17 - #249

Merged
mitchellh merged 2 commits into
mitchellh:mainfrom
pluiedev:pluie/jj-mzuqwnzsyvxz
Oct 20, 2026
Merged

mitchellh merged 2 commits into
mitchellh:mainfrom
pluiedev:pluie/jj-mzuqwnzsyvxz

Conversation

@pluiedev

@pluiedev pluiedev commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Main problem is we can't generate the pkg-config file anymore

Comment thread build.zig
"share/pkgconfig/libxev.pc",
);
};
// FIXME: It is impossible since Zig 0.17 to obtain the

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mitchellh
mitchellh merged commit 451a2bc into mitchellh:main Oct 20, 2026
endel added a commit to endel/libxev that referenced this pull request Oct 23, 2026
mitchellh#249 made the code build on 0.17, but CI still installs 0.16, so every job
fails. CI, the README and minimum_zig_version now say 0.17.

libxev.pc was dropped because the install prefix is no longer known when
build.zig runs; it now finds its prefix relative to itself. build.zig
declares the directories it lists, so a new example, benchmark or man page
reruns it.

@hasDecl now sees only pub decls, even from the same file, so the "Stream
decls" tests returned before checking anything: S is private. Every type
that runs them has S, so the guard is gone. The rest is zig fmt's own
upgrade to @backingInt and @fromBackingInt.

Assisted-by: Claude Opus 5.5
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.

3 participants