mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
aro_translate_c: Add a more helpful error message for error.StreamTooLong
This commit is contained in:
parent
5d8e56c2eb
commit
699e103717
@ -1668,7 +1668,7 @@ pub fn main() !void {
|
||||
var tree = translate(gpa, &aro_comp, args) catch |err| switch (err) {
|
||||
error.ParsingFailed, error.FatalError => renderErrorsAndExit(&aro_comp),
|
||||
error.OutOfMemory => return error.OutOfMemory,
|
||||
error.StreamTooLong => std.zig.fatal("StreamTooLong?", .{}),
|
||||
error.StreamTooLong => std.zig.fatal("An input file was larger than 4GiB", .{}),
|
||||
};
|
||||
defer tree.deinit(gpa);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user