Skip to content

Commit 28dcf0e

Browse files
committed
make main output writer an ArrayListUnmanaged writer
1 parent f8cfcf6 commit 28dcf0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/errors.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const builtin = @import("builtin");
33
const html = @import("html.zig");
44
const Span = @import("root.zig").Span;
55

6-
pub const ErrWriter = std.ArrayList(u8).Writer;
6+
pub const ErrWriter = std.ArrayListUnmanaged(u8).Writer;
77

88
/// Used to catch programming errors where a function fails to report
99
/// correctly that an error has occurred.

src/vm.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub fn VM(
4949
}) = .{},
5050

5151
const ScriptyVM = scripty.VM(Context, Value);
52-
const OutWriter = std.io.BufferedWriter(4096, std.fs.File.Writer).Writer;
52+
const OutWriter = std.ArrayListUnmanaged(u8).Writer;
5353
const ErrWriter = errors.ErrWriter;
5454
const Self = @This();
5555

0 commit comments

Comments
 (0)