zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 101d21a6dcfe8fbc707744c941413ddd32e14035 (tree)
parent 14c8e270bb47c4e10ee3392661d4c62ab5c2f89d
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Thu, 10 Oct 2024 14:18:39 -0700

std.Build.Cache.Path: fix single-quote escaping format

Diffstat:
Mlib/std/Build/Cache/Path.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/Build/Cache/Path.zig b/lib/std/Build/Cache/Path.zig @@ -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| {