wip: Restore db from file.

This commit is contained in:
2026-05-03 13:03:14 -04:00
parent 8f2c241963
commit 93374c8826
5 changed files with 245 additions and 47 deletions

View File

@@ -226,6 +226,7 @@ fn ParseType(comptime type_info: []const u8) type {
const signedness = switch (type_info[0]) {
'u' => .unsigned,
'i' => .signed,
else => unreachable,
};
return @Int(signedness, std.fmt.parseInt(usize, type_info[1..type_info.len], 10) catch {
@compileError("invalid type info " ++ type_info);