summaryrefslogtreecommitdiff
path: root/runtime/main.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 22:03:14 -0300
committerGabriel Schneider <[email protected]>2026-11-18 22:23:51 -0300
commit99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 (patch)
tree813596ea84318a7bae4fd7416ba463de8e3b7107 /runtime/main.zig
parent92d553123673376adf6126ab90d49a22c5b833d2 (diff)
downloadpardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.tar.gz
pardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.zip
core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime/main.zig')
-rw-r--r--runtime/main.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/main.zig b/runtime/main.zig
index 61e9f3fd..11aceaeb 100644
--- a/runtime/main.zig
+++ b/runtime/main.zig
@@ -1114,7 +1114,7 @@ fn parseCtrlKey(raw: []const u8) ?u21 {
fn nativeMain(std_init: std.process.Init) !void {
var init = std_init;
if (builtin.mode != .debug) init.gpa = pardes.memory.host(std.heap.c_allocator);
- // A recorded session's tape replayed, no session of its own (src/tape.zig).
+ // A recorded session's tape replayed, no session of its own (core/tape.zig).
if (init.environ_map.get("PARDES_REPLAY")) |tape| std.process.exit(pardes.tape.replayMain(tape));
var stderr_probe: [64]u8 = undefined;
_ = std.debug.lockStderr(&stderr_probe);
@@ -1917,7 +1917,7 @@ test {
_ = pardes.config.User;
// The rest this block collected is collected where it lives now: the
// runtime's files by runtime/root.zig's test block, the core's by
- // pardes.zig's, the devices' (the frontends) by dev/root.zig's. The
+ // core/root.zig's, the devices' (the frontends) by dev/root.zig's. The
// window stays named: its C's allocator (ui_malloc and the rest) is
// gui.zig's.
if (comptime pardes.platform == .tui) {