diff options
Diffstat (limited to 'src/Stream.zig')
| -rw-r--r-- | src/Stream.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Stream.zig b/src/Stream.zig index 7f5e9162..dabc283c 100644 --- a/src/Stream.zig +++ b/src/Stream.zig @@ -458,7 +458,7 @@ pub fn parseFor(p: *Pardes, id: usize) void { // Here and now: a small text, a host with no workers. var got: Collect = .{ .gpa = p.gpa }; defer got.batches.deinit(p.gpa); - parseWork(if (comptime pardes.hosted) std.Io.Threaded.global_single_threaded.io() else std.Io.failing, job, &got, Collect.take); + parseWork(std.Io.Threaded.global_single_threaded.io(), job, &got, Collect.take); for (got.batches.items) |*b| { receive(p, b); b.deinit(p.gpa); |
