authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-12-28 19:28:09 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-12-28 19:28:09 -08:00
log0658fc7228151e5c08e8a0260d0b98f711757499
treea61ba8285bf3d374c84fe93ab7808a77337d9da9
parentb1628069f863dc55e2d02fe356510f2068ebefa2

update to zig 0.13


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

.gitignore+1
......@@ -3,3 +3,4 @@ zig-*
33deps.zig
44*.db
55zigmod.lock
6.zig-cache
build.zig+3-4
......@@ -1,14 +1,13 @@
11const std = @import("std");
22const deps = @import("./deps.zig");
33
4pub fn build(b: *std.build.Builder) void {
5 var target = b.standardTargetOptions(.{});
6 if (target.isGnuLibC()) target.setGnuLibCVersion(2, 28, 0);
4pub fn build(b: *std.Build) void {
5 const target = b.standardTargetOptions(.{});
76 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;
87
98 const exe = b.addExecutable(.{
109 .name = "zig-zorm",
11 .root_source_file = .{ .path = "src/main.zig" },
10 .root_source_file = b.path("src/main.zig"),
1211 .target = target,
1312 .optimize = mode,
1413 });