diff options
| author | John Benediktsson <mrjbq7@gmail.com> | 2025-07-17 04:29:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-17 11:29:22 +0000 |
| commit | 6e86910e194ccce076ee877a02b64e0762a270ab (patch) | |
| tree | 9089c8101f165bf7c2ac94f986d5824e4f754424 /lib/std/Io.zig | |
| parent | c82403020d82718df7d42c9438f3145a9a050640 (diff) | |
| download | zig-6e86910e194ccce076ee877a02b64e0762a270ab.tar.gz zig-6e86910e194ccce076ee877a02b64e0762a270ab.zip | |
std.Io: Fix GenericReader.adaptToNewApi; add DeprecatedReader.adaptToNewApi (#24484)
Diffstat (limited to 'lib/std/Io.zig')
| -rw-r--r-- | lib/std/Io.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/Io.zig b/lib/std/Io.zig index d1efb3cbc2..ff6966d7f7 100644 --- a/lib/std/Io.zig +++ b/lib/std/Io.zig @@ -320,6 +320,8 @@ pub fn GenericReader( .new_interface = .{ .buffer = &.{}, .vtable = &.{ .stream = Adapter.stream }, + .seek = 0, + .end = 0, }, }; } |
