Skip to content

Commit

Permalink
Zig update: update stringEscape import path
Browse files Browse the repository at this point in the history
  • Loading branch information
ehaas committed Feb 29, 2024
1 parent 2ae3b4f commit ce3f450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/Ir.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit ce3f450

Please sign in to comment.