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 @@...@@ -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 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.Mode, "mode", "") orelse .Debug;
77
...@@ -15,10 +15,10 @@ pub fn build(b: *std.build.Builder) void {...@@ -15,10 +15,10 @@ pub fn build(b: *std.build.Builder) void {
15 }15 }
16}16}
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 {
19 const exe = b.addExecutable(.{19 const exe = b.addExecutable(.{
20 .name = name,20 .name = name,
21 .root_source_file = .{ .path = root_src },21 .root_source_file = b.path(root_src),
22 .target = target,22 .target = target,
23 .optimize = mode,23 .optimize = mode,
24 });24 });
licenses.txt+1
...@@ -4,5 +4,6 @@ MIT:...@@ -4,5 +4,6 @@ MIT:
4- git https://github.com/nektro/iguanaTLS4- git https://github.com/nektro/iguanaTLS
5- git https://github.com/nektro/zfetch5- git https://github.com/nektro/zfetch
6- git https://github.com/nektro/zig-ansi6- git https://github.com/nektro/zig-ansi
7- git https://github.com/nektro/zig-extras
7- git https://github.com/nektro/zig-fmt-valueliteral8- git https://github.com/nektro/zig-fmt-valueliteral
8- git https://github.com/truemedian/hzzp9- git https://github.com/truemedian/hzzp
scripts/PropertyValueAliases.zig+1-1
...@@ -10,7 +10,7 @@ pub usingnamespace common.Main(struct {...@@ -10,7 +10,7 @@ pub usingnamespace common.Main(struct {
10 pub const dest_header =10 pub const dest_header =
11 \\const std = @import("std");11 \\const std = @import("std");
12 \\12 \\
13 \\pub const data = [_][3][]const u8{13 \\pub const data = [_][3][:0]const u8{
14 \\14 \\
15 ;15 ;
1616
src/property_value_aliases.zig+1-1
...@@ -7,7 +7,7 @@...@@ -7,7 +7,7 @@
77
8const std = @import("std");8const std = @import("std");
99
10pub const data = [_][3][]const u8{10pub const data = [_][3][:0]const u8{
11 .{ "AHex", "N", "No" },11 .{ "AHex", "N", "No" },
12 .{ "AHex", "F", "No" },12 .{ "AHex", "F", "No" },
13 .{ "AHex", "False", "No" },13 .{ "AHex", "False", "No" },