logging: document GHOSTTY_LOG and make it more flexible

This commit is contained in:
Jeffrey C. Ollie
2025-09-21 00:21:14 -05:00
committed by Mitchell Hashimoto
parent 6d2beed1b0
commit f8c03bb6f6
9 changed files with 124 additions and 43 deletions

View File

@@ -604,7 +604,7 @@ pub fn parseAutoStruct(
return result;
}
fn parsePackedStruct(comptime T: type, v: []const u8) !T {
pub fn parsePackedStruct(comptime T: type, v: []const u8) !T {
const info = @typeInfo(T).@"struct";
comptime assert(info.layout == .@"packed");