pass correct zig-cache path (#789)

This commit is contained in:
Lee Cannon 2022-11-29 22:50:09 +00:00 committed by GitHub
parent 56a65f42bf
commit c3256c00e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -387,7 +387,7 @@ fn loadBuildConfiguration(
const directory_path = try std.fs.path.resolve(arena_allocator, &.{ build_file_path, "../" }); const directory_path = try std.fs.path.resolve(arena_allocator, &.{ build_file_path, "../" });
// TODO extract this option from `BuildAssociatedConfig.BuildOption` // TODO extract this option from `BuildAssociatedConfig.BuildOption`
const zig_cache_root: []const u8 = "zig-cache"; const zig_cache_root: []const u8 = try std.fs.path.join(arena_allocator, &.{ directory_path, "zig-cache" });
// Since we don't compile anything and no packages should put their // Since we don't compile anything and no packages should put their
// files there this path can be ignored // files there this path can be ignored
const zig_global_cache_root: []const u8 = "ZLS_DONT_CARE"; const zig_global_cache_root: []const u8 = "ZLS_DONT_CARE";