mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
fix build runner compilation
This commit is contained in:
parent
a091ccb217
commit
e326d7e8ec
@ -463,9 +463,9 @@ pub const Frame = struct {
|
||||
InputBufferUndersize,
|
||||
};
|
||||
|
||||
/// Prepare the decoder to decode a compressed block. Loads the literals
|
||||
/// stream and Huffman tree from `literals` and reads the FSE tables from
|
||||
/// `source`.
|
||||
/// Prepare the decoder to decode a compressed block. Loads the
|
||||
/// literals stream and Huffman tree from `literals` and reads the
|
||||
/// FSE tables from `in`.
|
||||
pub fn prepare(
|
||||
self: *Decode,
|
||||
in: *BufferedReader,
|
||||
|
||||
@ -2045,7 +2045,7 @@ pub fn readFileIntoArrayList(
|
||||
else => |e| return e,
|
||||
}
|
||||
|
||||
file_reader.interface().readRemainingArrayList(gpa, alignment, list, limit) catch |err| switch (err) {
|
||||
file_reader.interface().readRemainingArrayList(gpa, alignment, list, limit, 128) catch |err| switch (err) {
|
||||
error.OutOfMemory => return error.OutOfMemory,
|
||||
error.StreamTooLong => return error.StreamTooLong,
|
||||
error.ReadFailed => return file_reader.err.?,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user