diff options
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index a3e7f862..343742e3 100644 --- a/src/main.zig +++ b/src/main.zig @@ -160,7 +160,10 @@ fn nativeMain(init: std.process.Init) !void { switch (pardes.platform) { .tty => try @import("tty/tty.zig").run(init, opts), .gui => try @import("gui/gui.zig").run(init, opts), - .web => unreachable, // web enters through webMain, never here + // Both library shells are entered by their host through a flat C ABI, + // and never link this file at all: the browser through src/web.zig, + // the macOS app through src/macos.zig. + .web, .macos => unreachable, } } |
