mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
std.Build.Cache.Path: fix single-quote escaping format
This commit is contained in:
parent
14c8e270bb
commit
101d21a6dc
@ -149,7 +149,7 @@ pub fn format(
|
||||
const stringEscape = std.zig.stringEscape;
|
||||
const f = switch (fmt_string[0]) {
|
||||
'q' => "",
|
||||
'\'' => '\'',
|
||||
'\'' => "\'",
|
||||
else => @compileError("unsupported format string: " ++ fmt_string),
|
||||
};
|
||||
if (self.root_dir.path) |p| {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user