Don't use the build runner path as the build runner cache path if present >.>
This commit is contained in:
parent
3d62dd53a2
commit
14dc9d1b51
@ -1877,7 +1877,7 @@ pub fn main() anyerror!void {
|
|||||||
break :blk try std.fs.path.resolve(allocator, &[_][]const u8{ exe_dir_path, "build_runner.zig" });
|
break :blk try std.fs.path.resolve(allocator, &[_][]const u8{ exe_dir_path, "build_runner.zig" });
|
||||||
};
|
};
|
||||||
|
|
||||||
const build_runner_cache_path = if (config.build_runner_path) |p|
|
const build_runner_cache_path = if (config.build_runner_cache_path) |p|
|
||||||
try allocator.dupe(u8, p)
|
try allocator.dupe(u8, p)
|
||||||
else blk: {
|
else blk: {
|
||||||
const cache_dir_path = (try known_folders.getPath(allocator, .cache)) orelse {
|
const cache_dir_path = (try known_folders.getPath(allocator, .cache)) orelse {
|
||||||
|
Loading…
Reference in New Issue
Block a user