From 99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 18 Nov 2026 22:03:14 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- build/tools.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/tools.zig') diff --git a/build/tools.zig b/build/tools.zig index c6f25e6d..1343fef9 100644 --- a/build/tools.zig +++ b/build/tools.zig @@ -107,7 +107,7 @@ pub fn add(b: *std.Build, c: struct { const hxdiff_step = b.step("hxdiff", "compare Helix results (-- --strict cases reference [waivers]; cases alone emits; --parity: a pty pane against a file pane)"); hxdiff_step.dependOn(&run_hxdiff.step); - // The same cases on the library (src/lib_editor.zig): test/hxlib.zig + // The same cases on the library (core/lib_editor.zig): test/hxlib.zig // types them into an editor value and prints its results, which // hxdiff holds against helix's goldens, or with `-- --parity` // against the file pane, so the library cannot drift from either. @@ -235,7 +235,7 @@ pub fn add(b: *std.Build, c: struct { // The syntax module's own tests and snapshots, on the core without // a terminal: its tests reach the editor's modes (modal.zig). var syntax_cfg = c.lean; - syntax_cfg.root = "src/syntax.zig"; + syntax_cfg.root = "core/syntax.zig"; const syntax_module = core.module(b, c.parts, syntax_cfg).root; const syntax_runner = program(b, "pardes-syntax", "test/syntax.zig", c.target, c.optimize, &.{.{ .name = "syntax", .module = syntax_module }}); const run_syntax = b.addRunArtifact(syntax_runner); -- cgit v1.3