| author | |
| committer | |
| log | f1eacece16bb6f6323e1886a374b35f2ba1ab84c |
| tree | 3336840b4c32aa6bf26f6fed8ea372eff91e5f1f |
| parent | e237d9ad72674b7275234aeb0fd4c42981575873 |
4 files changed, 6 insertions(+), 5 deletions(-)
build.zig+3-3| ... | @@ -1,7 +1,7 @@ | ... | @@ -1,7 +1,7 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | const deps = @import("./deps.zig"); | 2 | const deps = @import("./deps.zig"); |
| 3 | 3 | ||
| 4 | pub fn build(b: *std.build.Builder) void { | 4 | pub 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; |
| 7 | 7 | ||
| ... | @@ -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 | } |
| 17 | 17 | ||
| 18 | fn addExeStep(b: *std.build.Builder, target: std.zig.CrossTarget, mode: std.builtin.Mode, name: []const u8, root_src: []const u8, sdescription: []const u8) void { | 18 | fn 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/iguanaTLS | 4 | - git https://github.com/nektro/iguanaTLS |
| 5 | - git https://github.com/nektro/zfetch | 5 | - git https://github.com/nektro/zfetch |
| 6 | - git https://github.com/nektro/zig-ansi | 6 | - git https://github.com/nektro/zig-ansi |
| 7 | - git https://github.com/nektro/zig-extras | ||
| 7 | - git https://github.com/nektro/zig-fmt-valueliteral | 8 | - git https://github.com/nektro/zig-fmt-valueliteral |
| 8 | - git https://github.com/truemedian/hzzp | 9 | - 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 | ; |
| 16 | 16 |
src/property_value_aliases.zig+1-1| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | ||
| 8 | const std = @import("std"); | 8 | const std = @import("std"); |
| 9 | 9 | ||
| 10 | pub const data = [_][3][]const u8{ | 10 | pub 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" }, |