update to latest zig

This commit is contained in:
Ali Cheraghi 2024-09-11 00:57:27 +03:30
parent bd5240d58c
commit 0b566414c9

View file

@ -104,7 +104,7 @@ fn vec(comptime args: anytype) []const []const u8 {
fn load_file_types(comptime Namespace: type) []const FileType {
comptime switch (@typeInfo(Namespace)) {
.Struct => |info| {
.@"struct" => |info| {
var count = 0;
for (info.decls) |_| {
// @compileLog(decl.name, @TypeOf(@field(Namespace, decl.name)));