Skip to content

Commit

Permalink
pass --zig-lib-dir to the build runner
Browse files Browse the repository at this point in the history
  • Loading branch information
GalaxyShard committed Jan 14, 2025
1 parent 61c7147 commit a6d7fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DocumentStore.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ fn prepareBuildRunnerArgs(self: *DocumentStore, build_file_uri: []const u8) ![][
defer tracy_zone.end();

const base_args = &[_][]const u8{
self.config.zig_exe_path.?, "build", "--build-runner", self.config.build_runner_path.?,
self.config.zig_exe_path.?, "build", "--build-runner", self.config.build_runner_path.?, "--zig-lib-dir", self.config.zig_lib_path.?
};

var args: std.ArrayListUnmanaged([]const u8) = try .initCapacity(self.allocator, base_args.len);
Expand Down

0 comments on commit a6d7fec

Please sign in to comment.