Adding a field to build.zig/build.zig.zon for the Zig compiler version and commit used to init the project

I think if the field does not auto-update it will not help much as the zig init version of zig might be out of sync with the actual current zig version used for development.

Personally I auto-generate READMEs for my projects which include the current zig version for the project https://github.com/Cloudef/zig-aio/blob/master/flake.nix#L84

4 Likes