authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-09-21 17:42:46 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-09-21 17:42:46 -07:00
logf1eacece16bb6f6323e1886a374b35f2ba1ab84c
tree3336840b4c32aa6bf26f6fed8ea372eff91e5f1f
parente237d9ad72674b7275234aeb0fd4c42981575873

upgrade to zig 0.13


4 files changed, 6 insertions(+), 5 deletions(-)

build.zig+3-3
......@@ -1,7 +1,7 @@
11const std = @import("std");
22const deps = @import("./deps.zig");
33
4pub fn build(b: *std.build.Builder) void {
4pub fn build(b: *std.Build) void {
55 const target = b.standardTargetOptions(.{});
66 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;
77
......@@ -15,10 +15,10 @@ pub fn build(b: *std.build.Builder) void {
1515 }
1616}
1717
18fn addExeStep(b: *std.build.Builder, target: std.zig.CrossTarget, mode: std.builtin.Mode, name: []const u8, root_src: []const u8, sdescription: []const u8) void {
18fn addExeStep(b: *std.Build, target: std.Build.ResolvedTarget, mode: std.builtin.Mode, name: []const u8, root_src: []const u8, sdescription: []const u8) void {
1919 const exe = b.addExecutable(.{
2020 .name = name,
21 .root_source_file = .{ .path = root_src },
21 .root_source_file = b.path(root_src),
2222 .target = target,
2323 .optimize = mode,
2424 });
licenses.txt+1
......@@ -4,5 +4,6 @@ MIT:
44- git https://github.com/nektro/iguanaTLS
55- git https://github.com/nektro/zfetch
66- git https://github.com/nektro/zig-ansi
7- git https://github.com/nektro/zig-extras
78- git https://github.com/nektro/zig-fmt-valueliteral
89- git https://github.com/truemedian/hzzp
scripts/PropertyValueAliases.zig+1-1
......@@ -10,7 +10,7 @@ pub usingnamespace common.Main(struct {
1010 pub const dest_header =
1111 \\const std = @import("std");
1212 \\
13 \\pub const data = [_][3][]const u8{
13 \\pub const data = [_][3][:0]const u8{
1414 \\
1515 ;
1616
src/property_value_aliases.zig+1-1
......@@ -7,7 +7,7 @@
77
88const std = @import("std");
99
10pub const data = [_][3][]const u8{
10pub const data = [_][3][:0]const u8{
1111 .{ "AHex", "N", "No" },
1212 .{ "AHex", "F", "No" },
1313 .{ "AHex", "False", "No" },