Fix build runner cwd causing relative @src (#898)
Co-authored-by: Nameless <truemedian@gmail.com> Co-authored-by: Nameless <truemedian@gmail.com>
This commit is contained in:
parent
68790c73a7
commit
21b103c158
@ -431,6 +431,7 @@ fn loadBuildConfiguration(
|
|||||||
const zig_run_result = try std.ChildProcess.exec(.{
|
const zig_run_result = try std.ChildProcess.exec(.{
|
||||||
.allocator = arena_allocator,
|
.allocator = arena_allocator,
|
||||||
.argv = args.items,
|
.argv = args.items,
|
||||||
|
.cwd = try std.fs.path.resolve(arena_allocator, &.{ config.zig_exe_path.?, "../" }),
|
||||||
});
|
});
|
||||||
|
|
||||||
defer {
|
defer {
|
||||||
|
Loading…
Reference in New Issue
Block a user