diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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, |
