authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-05-09 02:48:30 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-05-09 02:48:30 -07:00
logba546bbf2e8438c9b2325f36f392c9d95b432e8e
treec286bbb298b5d80afd02dfc9896d9b336ccd18d0
parentd9600adbebfca90a8e795f1c072e9e681fa86d81

upgrade to zig 0.12


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

build.zig+1-1
...@@ -1,7 +1,7 @@...@@ -1,7 +1,7 @@
1const std = @import("std");1const std = @import("std");
2const deps = @import("./deps.zig");2const deps = @import("./deps.zig");
33
4pub fn build(b: *std.build.Builder) void {4pub fn build(b: *std.Build) void {
5 const t = b.addTest(.{5 const t = b.addTest(.{
6 .root_source_file = .{ .path = "main.zig" },6 .root_source_file = .{ .path = "main.zig" },
7 });7 });
time.zig+1-1
...@@ -487,7 +487,7 @@ fn printLongName(writer: anytype, index: u16, names: []const string) !void {...@@ -487,7 +487,7 @@ fn printLongName(writer: anytype, index: u16, names: []const string) !void {
487}487}
488488
489fn wrap(val: u16, at: u16) u16 {489fn wrap(val: u16, at: u16) u16 {
490 var tmp = val % at;490 const tmp = val % at;
491 return if (tmp == 0) at else tmp;491 return if (tmp == 0) at else tmp;
492}492}
493493