We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67da8c3 commit df03f34Copy full SHA for df03f34
README.md
@@ -26,6 +26,7 @@ Project is tested on zig version 0.14.0-dev.3298+6fe1993d8
26
## Example
27
28
```zig
29
+const builtin = @import("builtin");
30
const std = @import("std");
31
const aio = @import("aio");
32
const coro = @import("coro");
@@ -109,6 +110,7 @@ fn client(startup: *coro.ResetEvent) !void {
109
110
}
111
112
pub fn main() !void {
113
+ if (builtin.target.os.tag == .wasi) return error.UnsupportedPlatform;
114
// var mem: [4096 * 1024]u8 = undefined;
115
// var fba = std.heap.FixedBufferAllocator.init(&mem);
116
var gpa: std.heap.GeneralPurposeAllocator(.{}) = .{};
0 commit comments