summaryrefslogtreecommitdiff
path: root/src/walk.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 18:31:11 -0300
committerGabriel Schneider <[email protected]>2026-10-29 21:13:33 -0300
commitb4c7b2ff828d258dde78ff2dcded3b226e6d874d (patch)
tree468e1a9d0dd8c88db7b66c69cb3341402048d733 /src/walk.zig
parent84b673d6c01e647c2eaeb6464d1f0a0004b7bd20 (diff)
downloadpardes-b4c7b2ff828d258dde78ff2dcded3b226e6d874d.tar.gz
pardes-b4c7b2ff828d258dde78ff2dcded3b226e6d874d.zip
docs/next-daemon.md: phase 2 notes (the walker dump, crossing builds, load and revive, what the design missed); the GUI's Restore test keeps the dump's serial
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/walk.zig')
-rw-r--r--src/walk.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/walk.zig b/src/walk.zig
index 304fc5aa..00868133 100644
--- a/src/walk.zig
+++ b/src/walk.zig
@@ -659,7 +659,6 @@ pub fn Dump(comptime roots: []const type) type {
out: std.Io.Writer.Allocating,
memo: std.AutoHashMapUnmanaged(Key, u32) = .empty,
shared: u32 = 0,
- next_root: usize = 0,
const Key = struct { addr: usize, len: usize, ty: u32 };
@@ -686,7 +685,6 @@ pub fn Dump(comptime roots: []const type) type {
pub fn put(d: *Self, comptime T: type, v: *const T) !void {
try writeU32(&d.out.writer, comptime indexIn(types, Canon(T)));
try d.value(T, v);
- d.next_root += 1;
}
/// Whether the pointer or slice at `addr` was met before: its