Zig 0.16: trimLeft -> trimStart

This commit is contained in:
LN Liberda 2026-05-22 19:26:52 +02:00
parent cb0aa4f03c
commit 608befe26c

View file

@ -353,7 +353,7 @@ fn tryReadArgsFile(path: [:0]const u8) void {
if (std.mem.indexOfAny(u8, line, " \t=")) |i| {
arglist[argc] = allocator.dupeZ(u8, line[0..i]) catch unreachable;
argc += 1;
line = std.mem.trimLeft(u8, line[i+1..], &std.ascii.whitespace);
line = std.mem.trimStart(u8, line[i+1..], &std.ascii.whitespace);
}
arglist[argc] = allocator.dupeZ(u8, line) catch unreachable;
argc += 1;