authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:05:05 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-01 16:05:20 -07:00
logdf213099ceef34546097bdb715fb45047e50e91f
tree7d8f55fe6b7445ee3266eca6e39e399a17d60a2d
parent27873c7ccc0aed3bd3694fe2250d2cf2fd8101e5
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.15.2


3 files changed, 7 insertions(+), 7 deletions(-)

build.zig+6-4
...@@ -3,13 +3,15 @@ const deps = @import("./deps.zig");...@@ -3,13 +3,15 @@ const deps = @import("./deps.zig");
33
4pub fn build(b: *std.Build) void {4pub fn build(b: *std.Build) void {
5 const target = b.standardTargetOptions(.{});5 const target = b.standardTargetOptions(.{});
6 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;6 const mode = b.option(std.builtin.OptimizeMode, "mode", "") orelse .Debug;
7 const disable_llvm = b.option(bool, "disable_llvm", "use the non-llvm zig codegen") orelse false;7 const disable_llvm = b.option(bool, "disable_llvm", "use the non-llvm zig codegen") orelse false;
88
9 const tests = b.addTest(.{9 const tests = b.addTest(.{
10 .root_source_file = b.path("test.zig"),10 .root_module = b.createModule(.{
11 .target = target,11 .root_source_file = b.path("test.zig"),
12 .optimize = mode,12 .target = target,
13 .optimize = mode,
14 }),
13 });15 });
14 deps.addAllTo(tests);16 deps.addAllTo(tests);
15 tests.use_llvm = !disable_llvm;17 tests.use_llvm = !disable_llvm;
licenses.txt+1-1
...@@ -2,13 +2,13 @@ MIT:...@@ -2,13 +2,13 @@ MIT:
2= https://spdx.org/licenses/MIT2= https://spdx.org/licenses/MIT
3- This3- This
4- git https://github.com/nektro/zig-extras4- git https://github.com/nektro/zig-extras
5- git https://github.com/nektro/zig-htmlentities
5- git https://github.com/nektro/zig-json6- git https://github.com/nektro/zig-json
6- git https://github.com/nektro/zig-sys-darwin7- git https://github.com/nektro/zig-sys-darwin
7- git https://github.com/nektro/zig-sys-linux8- git https://github.com/nektro/zig-sys-linux
8- git https://github.com/nektro/zig-time9- git https://github.com/nektro/zig-time
9- git https://github.com/nektro/zig-tracer10- git https://github.com/nektro/zig-tracer
10- git https://github.com/nektro/zig-unicode-ucd11- git https://github.com/nektro/zig-unicode-ucd
11- git https://github.com/kivikakk/htmlentities.zig
1212
13MPL-2.0:13MPL-2.0:
14= https://spdx.org/licenses/MPL-2.014= https://spdx.org/licenses/MPL-2.0
oauth2.zig-2
...@@ -265,8 +265,6 @@ pub fn clientByProviderId(clients: []const Client, name: string) ?Client {...@@ -265,8 +265,6 @@ pub fn clientByProviderId(clients: []const Client, name: string) ?Client {
265 return null;265 return null;
266}266}
267267
268pub const IsLoggedInFn = fn (*std.http.Server.Response) anyerror!bool;
269
270pub fn Handlers(comptime T: type) type {268pub fn Handlers(comptime T: type) type {
271 comptime std.debug.assert(@hasDecl(T, "isLoggedIn"));269 comptime std.debug.assert(@hasDecl(T, "isLoggedIn"));
272 comptime std.debug.assert(@hasDecl(T, "doneUrl"));270 comptime std.debug.assert(@hasDecl(T, "doneUrl"));