From 101d21a6dcfe8fbc707744c941413ddd32e14035 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 10 Oct 2024 14:18:39 -0700 Subject: [PATCH] std.Build.Cache.Path: fix single-quote escaping format --- lib/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 index edd306d06d..a14c6cd7a4 100644 --- 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| {