From 0a15af8d98771180e32402e68ea844f9f377cefb Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 9 Aug 2026 02:34:49 -0300 Subject: a pardes launched inside pardes hands its file to the outer one --- build.zig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 8a07cf16..c150c9b5 100644 --- a/build.zig +++ b/build.zig @@ -885,6 +885,15 @@ pub fn build(b: *std.Build) void { .link_libc = true, }) }); unit_step.dependOn(&b.addRunArtifact(shell_bin_test).step); + // Nested-instance detection and its socket path: same shape again — + // native-shell IO, no core imports, its own libc-linked module. + const nested_test = b.addTest(.{ .root_module = b.createModule(.{ + .target = target, + .optimize = optimize, + .root_source_file = b.path("src/nested.zig"), + .link_libc = true, + }) }); + unit_step.dependOn(&b.addRunArtifact(nested_test).step); // crt.zig is pure std — the mouse-mapping-vs-shader-formula test const crt_test = b.addTest(.{ .root_module = b.createModule(.{ .target = target, -- cgit v1.3