authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:16:48 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:16:48 -07:00
logdcf876ca97b391153bdaa72b21601f76b80e00e1
treead7ace4efd48dee8c6b58d5f4ff01b321ec50558
parent1e801b79c98f4275753f52313e9347b6a15c3373

build.zig: ensure tests are run with project root as cwd


1 files changed, 1 insertions(+), 0 deletions(-)

build.zig+1
...@@ -16,6 +16,7 @@ pub fn build(b: *std.Build) void {...@@ -16,6 +16,7 @@ pub fn build(b: *std.Build) void {
16 t.use_lld = !disable_llvm;16 t.use_lld = !disable_llvm;
1717
18 const run_t = b.addRunArtifact(t);18 const run_t = b.addRunArtifact(t);
19 run_t.setCwd(b.path("."));
19 run_t.has_side_effects = true;20 run_t.has_side_effects = true;
2021
21 const t_step = b.step("test", "Run all library tests");22 const t_step = b.step("test", "Run all library tests");