-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
The main change to do is:
- EAGAIN => unreachable, // This function is for blocking writes.
+ EAGAIN => if (std.event.Loop.instance) |loop| {
+ loop.waitUntilFdWritable(fd);
+ continue;
+ } else {
+ return error.WouldBlock;
+ },And then fix everything that breaks. This involves changes to std.io.OutStream, and unfortunately std.fmt.format. I was going to do this change as part of the std.net branch (#3538) but it got tricky, so I'm opening a separate issue for it.
JesseRMeyer and frmdstryr
Metadata
Metadata
Assignees
Labels
standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.