aboutsummaryrefslogtreecommitdiff
path: root/std/io.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2018-12-02 18:35:41 -0500
committerAndrew Kelley <andrew@ziglang.org>2018-12-02 18:36:18 -0500
commita40d160a5ca7fe50680578541c40038e280272ce (patch)
treeb00fa8b07250e734b19c764bcc0ce7d0161a0373 /std/io.zig
parent6f5e7ee09c9269cfcc454cde88960987054ee031 (diff)
downloadzig-a40d160a5ca7fe50680578541c40038e280272ce.tar.gz
zig-a40d160a5ca7fe50680578541c40038e280272ce.zip
introduce std.io.SeekableStream
Relevant #764 dwarf debug info is modified to use this instead of std.os.File directly to make it easier for bare metal projects to take advantage of debug info parsing
Diffstat (limited to 'std/io.zig')
-rw-r--r--std/io.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/io.zig b/std/io.zig
index f4122a2f8b..bdca2b03e8 100644
--- a/std/io.zig
+++ b/std/io.zig
@@ -32,6 +32,8 @@ pub fn getStdIn() GetStdIoErrs!File {
return File.openHandle(handle);
}
+pub const SeekableStream = @import("io/seekable_stream.zig").SeekableStream;
+
pub fn InStream(comptime ReadError: type) type {
return struct {
const Self = @This();