I’ve updated the project to zig 0.17.0. There is a zig-0.16.0 tag as well.
The only thing that broke is the AFL fuzz exe. If I’m reading right, It seems that latest AFL from nix packages unstable uses llvm 21.8 while zig 0.17 uses llvm 22. afl-clang-lto version 5 is showing the error message below.
Looking for suggestions on how to get it working again. I guess we have to wait for AFL to update to llvm 22
.
$ zig build -Dfuzz-exe
install
└─ install generated to fuzz-afl
└─ run /nix/store/5azi6pd3cgnpkk9xc834mcgxvlkxn25n-aflplusplus-5.00c/bin/afl-clang-lto (fuzz-afl) failure
error: Unknown attribute kind (105) (Producer: 'zig 0.17.0' Reader: 'LLVM 21.1.8')
EDIT:
Created a help thread: