authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 20:58:58 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 20:58:58 -07:00
log840e25a18ee33d8bc08f2134fc1595aec56c09cc
tree9599f78f2061a3cf8b38fe94d626402ed4c38090
parenta64ac8c08717f9dd307859d09b1da393824cc6d1
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update for zig 0.15.2


1 files changed, 2 insertions(+), 2 deletions(-)

json.zig+2-2
......@@ -719,7 +719,7 @@ const Space = union(enum) {
719719 }
720720};
721721
722pub fn stringify(writer: anytype, value: anytype, options: std.json.StringifyOptions) extras.Pointee(@TypeOf(writer)).WriteError!void {
722pub fn stringify(writer: anytype, value: anytype, options: std.json.Stringify.Options) extras.Pointee(@TypeOf(writer)).WriteError!void {
723723 const T = @TypeOf(value);
724724 if (comptime extras.isZigString(T)) {
725725 if (extras.matchesAll(u8, value, std.ascii.isAscii)) {
......@@ -795,7 +795,7 @@ pub fn stringify(writer: anytype, value: anytype, options: std.json.StringifyOpt
795795 }
796796}
797797
798pub fn stringifyAlloc(allocator: std.mem.Allocator, value: anytype, options: std.json.StringifyOptions) ![]u8 {
798pub fn stringifyAlloc(allocator: std.mem.Allocator, value: anytype, options: std.json.Stringify.Options) ![]u8 {
799799 var writer: nio.AllocatingWriter = .init(allocator);
800800 defer writer.deinit();
801801 try writer.ensureUnusedCapacity(256);