From 21b103c15832bebcc5bafa3873e0cac9317898f3 Mon Sep 17 00:00:00 2001 From: Auguste Rame <19855629+SuperAuguste@users.noreply.github.com> Date: Sun, 8 Jan 2023 23:13:20 -0500 Subject: [PATCH] Fix build runner cwd causing relative @src (#898) Co-authored-by: Nameless Co-authored-by: Nameless --- src/DocumentStore.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DocumentStore.zig b/src/DocumentStore.zig index 4f1f04f..ec72988 100644 --- a/src/DocumentStore.zig +++ b/src/DocumentStore.zig @@ -431,6 +431,7 @@ fn loadBuildConfiguration( const zig_run_result = try std.ChildProcess.exec(.{ .allocator = arena_allocator, .argv = args.items, + .cwd = try std.fs.path.resolve(arena_allocator, &.{ config.zig_exe_path.?, "../" }), }); defer {