From a216433c17e7033ba3cc4568f1b9102e04a7fa6f Mon Sep 17 00:00:00 2001 From: Evan Haas Date: Wed, 28 Feb 2024 16:32:15 -0800 Subject: [PATCH] Zig update: update stringEscape import path --- src/backend/Ir.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/Ir.zig b/src/backend/Ir.zig index 42424a7b..15c153e8 100644 --- a/src/backend/Ir.zig +++ b/src/backend/Ir.zig @@ -649,7 +649,7 @@ fn writeValue(ir: Ir, val: Interner.Ref, config: std.io.tty.Config, w: anytype) .float => |repr| switch (repr) { inline else => |x| return w.print("{d}", .{@as(f64, @floatCast(x))}), }, - .bytes => |b| return std.zig.fmt.stringEscape(b, "", .{}, w), + .bytes => |b| return std.zig.stringEscape(b, "", .{}, w), else => unreachable, // not a value } }