summaryrefslogtreecommitdiff
path: root/src/Dir.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 11:40:11 -0300
committerGabriel Schneider <[email protected]>2026-11-05 12:41:36 -0300
commit3f1533813b6692a736251e4d467a7f108229ddee (patch)
tree37a32c5ebbf9d3af08923856fd6fa516f3b33a39 /src/Dir.zig
parentcfd2b993feda1b3f7474225bb32db8cac8edc5ae (diff)
downloadpardes-3f1533813b6692a736251e4d467a7f108229ddee.tar.gz
pardes-3f1533813b6692a736251e4d467a7f108229ddee.zip
targets: the DOM web shell goes (src/web.zig and src/web/, its harnesses web_harness, web_snapshot, web_driver_test and web-snapshots/, tools/web_fixture.py, -Dplatform=web, -Ddump, and the web, web-harness, web-snap, web-e2e and web-driver-test steps), and with it what only a freestanding build needed: `hosted` and every guard on it (every build has a host now), memory's stack-fallback arenas and reduced_target sizes, the emscripten main, the tree-sitter libc shim and the stb stub, lsp's has_client, the web arms of the platform switches (-Dplatform is tui, gui or macos); the macOS files pass zig ast-check; docs/web.md is a paragraph on what it was
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/Dir.zig')
-rw-r--r--src/Dir.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Dir.zig b/src/Dir.zig
index f43c6e02..ae96d816 100644
--- a/src/Dir.zig
+++ b/src/Dir.zig
@@ -349,7 +349,6 @@ fn named(p: *Pardes, name: []const u8) struct { id: ?usize, count: usize } {
}
test "a look at a directory opens a pane named for it with a /, its entries in columns, never dirty, its directory its own" {
- if (comptime !pardes.hosted) return;
var tmp = testing.tmpDir(.{});
defer tmp.cleanup();
var buf: [4096]u8 = undefined;
@@ -378,7 +377,6 @@ test "a look at a directory opens a pane named for it with a /, its entries in c
}
test "a look at an entry is a look from the directory, .. goes up to the open pane, and Get or a look again reads it again" {
- if (comptime !pardes.hosted) return;
var tmp = testing.tmpDir(.{});
defer tmp.cleanup();
var buf: [4096]u8 = undefined;
@@ -413,7 +411,6 @@ test "a look at an entry is a look from the directory, .. goes up to the open pa
}
test "an exec in a directory pane runs in its directory, and its +Errors goes there" {
- if (comptime !pardes.hosted) return;
var tmp = testing.tmpDir(.{});
defer tmp.cleanup();
var buf: [4096]u8 = undefined;
@@ -434,7 +431,6 @@ test "an exec in a directory pane runs in its directory, and its +Errors goes th
}
test "over 9P a directory pane is a text pane whose name ends in /, its body the listing, ctl's isdir 1, and get reads it again" {
- if (comptime !pardes.hosted) return;
const th = @import("ninep/testing.zig");
const tree = @import("ninep/tree.zig");
var tmp = testing.tmpDir(.{});
@@ -461,7 +457,6 @@ test "over 9P a directory pane is a text pane whose name ends in /, its body the
}
test "a directory pane lays its entries out again when its width changes, unless its text was edited" {
- if (comptime !pardes.hosted) return;
var tmp = testing.tmpDir(.{});
defer tmp.cleanup();
var buf: [4096]u8 = undefined;