diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-07-25 23:16:13 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-07-30 13:44:36 -0400 |
| commit | cc4552733351390aecab9ae900beb822237d6041 (patch) | |
| tree | 575c7ad933f2ea04c4125704a55dc823839af57e /std/debug/index.zig | |
| parent | 5d4a02c350a18a70cf1f92f6638b5d26689c16b4 (diff) | |
| download | zig-cc4552733351390aecab9ae900beb822237d6041.tar.gz zig-cc4552733351390aecab9ae900beb822237d6041.zip | |
introduce std.event.fs for async file system functions
only works on linux so far
Diffstat (limited to 'std/debug/index.zig')
| -rw-r--r-- | std/debug/index.zig | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/std/debug/index.zig b/std/debug/index.zig index ab50d79db3..c32c3d352c 100644 --- a/std/debug/index.zig +++ b/std/debug/index.zig @@ -672,14 +672,10 @@ fn parseFormValueRef(allocator: *mem.Allocator, in_stream: var, comptime T: type const ParseFormValueError = error{ EndOfStream, - Io, - BadFd, - Unexpected, InvalidDebugInfo, EndOfFile, - IsDir, OutOfMemory, -}; +} || std.os.File.ReadError; fn parseFormValue(allocator: *mem.Allocator, in_stream: var, form_id: u64, is_64: bool) ParseFormValueError!FormValue { return switch (form_id) { |
