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-*...@@ -3,3 +3,4 @@ zig-*
3deps.zig3deps.zig
4*.db4*.db
5zigmod.lock5zigmod.lock
6.zig-cache
build.zig+3-4
...@@ -1,14 +1,13 @@...@@ -1,14 +1,13 @@
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 var target = b.standardTargetOptions(.{});5 const target = b.standardTargetOptions(.{});
6 if (target.isGnuLibC()) target.setGnuLibCVersion(2, 28, 0);
7 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;6 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;
87
9 const exe = b.addExecutable(.{8 const exe = b.addExecutable(.{
10 .name = "zig-zorm",9 .name = "zig-zorm",
11 .root_source_file = .{ .path = "src/main.zig" },10 .root_source_file = b.path("src/main.zig"),
12 .target = target,11 .target = target,
13 .optimize = mode,12 .optimize = mode,
14 });13 });