authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-03 21:53:42 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-03 21:53:42 -07:00
log8127321574b414e85cbe66251780fb3760bd110d
treeb00b0fb7e57251d06e839d83e7f75e4ef0182ab1
parentfbf3642e7a9e354e2f48751b69ae1c41c0d7b062
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.16.0


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

README.md+1-1
...@@ -3,7 +3,7 @@...@@ -3,7 +3,7 @@
3![loc](https://sloc.xyz/github/nektro/zig-yaml)3![loc](https://sloc.xyz/github/nektro/zig-yaml)
4[![license](https://img.shields.io/github/license/nektro/zig-yaml.svg)](https://github.com/nektro/zig-yaml/blob/master/LICENSE)4[![license](https://img.shields.io/github/license/nektro/zig-yaml.svg)](https://github.com/nektro/zig-yaml/blob/master/LICENSE)
5[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)5[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)
6[![Zig](https://img.shields.io/badge/Zig-0.15-f7a41d)](https://ziglang.org/)6[![Zig](https://img.shields.io/badge/Zig-0.16-f7a41d)](https://ziglang.org/)
7[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)7[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)
88
9Zig bindings for [libyaml](https://github.com/yaml/libyaml).9Zig bindings for [libyaml](https://github.com/yaml/libyaml).
yaml.zig+1-1
...@@ -375,7 +375,7 @@ fn get_event_string(event: Token, p: *const Parser) ![:0]u8 {...@@ -375,7 +375,7 @@ fn get_event_string(event: Token, p: *const Parser) ![:0]u8 {
375 errdefer list.deinit();375 errdefer list.deinit();
376 var i = sm.line + 1;376 var i = sm.line + 1;
377 while (i < em.line) : (i += 1) {377 while (i < em.line) : (i += 1) {
378 try list.appendSlice(std.mem.trimLeft(u8, lines[i], " "));378 try list.appendSlice(std.mem.trimStart(u8, lines[i], " "));
379 try list.append('\n');379 try list.append('\n');
380 }380 }
381 return try list.toOwnedSliceSentinel(0);381 return try list.toOwnedSliceSentinel(0);