aboutsummaryrefslogtreecommitdiff
path: root/src/Zcu/PerThread.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-07-11 18:28:05 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-07-12 00:15:11 -0700
commit5a34e6c3e608e1f526bababd3a2a146f6216d045 (patch)
tree154864ee4b7841598494d5c4a5449b38de09ed3c /src/Zcu/PerThread.zig
parenta3c20dffaed77727494d34f7b4b03c0d10771270 (diff)
downloadzig-5a34e6c3e608e1f526bababd3a2a146f6216d045.tar.gz
zig-5a34e6c3e608e1f526bababd3a2a146f6216d045.zip
frontend: add file system inputs for incremental cache mode
These are also used for whole cache mode in the case that any compile errors are emitted.
Diffstat (limited to 'src/Zcu/PerThread.zig')
-rw-r--r--src/Zcu/PerThread.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Zcu/PerThread.zig b/src/Zcu/PerThread.zig
index 4a1f257ddf..f6a47f626b 100644
--- a/src/Zcu/PerThread.zig
+++ b/src/Zcu/PerThread.zig
@@ -2666,7 +2666,7 @@ pub fn reportRetryableAstGenError(
},
};
- const err_msg = try Zcu.ErrorMsg.create(gpa, src_loc, "unable to load '{}{s}': {s}", .{
+ const err_msg = try Zcu.ErrorMsg.create(gpa, src_loc, "unable to load '{}/{s}': {s}", .{
file.mod.root, file.sub_file_path, @errorName(err),
});
errdefer err_msg.destroy(gpa);