diff options
Diffstat (limited to 'src/look.zig')
| -rw-r--r-- | src/look.zig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/look.zig b/src/look.zig index fbcc80a9..df1a15ae 100644 --- a/src/look.zig +++ b/src/look.zig @@ -563,7 +563,10 @@ fn findEmbeddedSource(path: []const u8, allow_root_suffix: bool) ?embedded_sourc /// embedded source. const platform_has_fs = !pardes.isolated and switch (pardes.platform) { .tty, .gui, .macos => true, - .web => false, + // The browser's filesystem is the embedded source archive; the P4 + // firmware's is whatever the serial host answers for, through the Host + // vtable — never a path this process opens. + .web, .p4 => false, }; // Find's safety rails. The core is SYNCHRONOUS — a Find at `/` runs inside the |
