I have read that 2.9.2 only claims to support zig 0.14 and zig 0.15.
This is a heads-up that zig 0.16 breaks it.
We've updated zig in pkgsrc to 0.16 and now see:
install
+- install ncdu
+- compile exe ncdu ReleaseSafe native-native 155 errors
src/ui.zig:290:16: error: invalid builtin function: '@Type'
break :lbl @Type(.{
^~~~~
src/c.zig:4:15: error: C import failed
pub const c = @cImport({
^~~~~~~~
referenced by:
c: src/main.zig:21:27
main: src/main.zig:470:9
4 reference(s) hidden; use '-freference-trace=6' to see all references
error: translation failure
/usr/include/stdio.h:151:1: error: unknown type name 'pragma'
__END_DECLS
^
and many more errors like the last one, full log at eg. https://releng.netbsd.org/pkgreports/shadow/HEAD/NetBSD-11.0-x86_64/20260418.0931/ncdu-2.9.2/build.log