mirror of
https://github.com/sbrow/envr.git
synced 2026-06-27 18:48:33 -04:00
feat: Restore db from file.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user