summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.zig b/src/main.zig
index 69cc1715..c60fb888 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -231,10 +231,11 @@ 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),
- // 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,
+ // Every other shell is entered by its host and never links this file
+ // at all: the browser through src/web.zig, the macOS app through
+ // src/macos.zig, and the ESP32-P4 firmware through its own app root in
+ // the zig-p4 package, which imports this package's `pardes_p4` module.
+ .web, .macos, .p4 => unreachable,
}
}