mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.Build.Step: fix missing path sep in error message
I have a more robust solution to this coming up in the writer interface branch.
This commit is contained in:
parent
c76f451abc
commit
1e2b3b1df9
1 changed files with 2 additions and 2 deletions
|
|
@ -764,8 +764,8 @@ fn failWithCacheError(s: *Step, man: *const Build.Cache.Manifest, err: Build.Cac
|
|||
.file_open, .file_stat, .file_read, .file_hash => |op| {
|
||||
const pp = man.files.keys()[op.file_index].prefixed_path;
|
||||
const prefix = man.cache.prefixes()[pp.prefix].path orelse "";
|
||||
return s.fail("failed to check cache: '{s}{s}' {s} {s}", .{
|
||||
prefix, pp.sub_path, @tagName(man.diagnostic), @errorName(op.err),
|
||||
return s.fail("failed to check cache: '{s}{c}{s}' {s} {s}", .{
|
||||
prefix, std.fs.path.sep, pp.sub_path, @tagName(man.diagnostic), @errorName(op.err),
|
||||
});
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue