aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-03-22 01:13:43 -0700
committerGitHub <noreply@github.com>2024-03-22 01:13:43 -0700
commita2651cbc829d44df4c3773037598b30e8cf0c4da (patch)
tree555c74b10683ae9678c68777310116f47142a8aa /src/main.zig
parent54c08579e4859673391843182aa2fd44aabbf6cf (diff)
parent950359071bca707dbc9763f1bf3ebc79cd52ebca (diff)
downloadzig-a2651cbc829d44df4c3773037598b30e8cf0c4da.tar.gz
zig-a2651cbc829d44df4c3773037598b30e8cf0c4da.zip
Merge pull request #19388 from ziglang/cache-dedup
cache system file deduplication
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig
index 4407ca72ce..c60cc100ab 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -6143,7 +6143,7 @@ fn cmdAstCheck(
}
file.mod = try Package.Module.createLimited(arena, .{
- .root = Package.Path.cwd(),
+ .root = Cache.Path.cwd(),
.root_src_path = file.sub_file_path,
.fully_qualified_name = "root",
});
@@ -6316,7 +6316,7 @@ fn cmdChangelist(
};
file.mod = try Package.Module.createLimited(arena, .{
- .root = Package.Path.cwd(),
+ .root = Cache.Path.cwd(),
.root_src_path = file.sub_file_path,
.fully_qualified_name = "root",
});