authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-16 01:14:07 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-16 01:14:07 -08:00
log00f5b0c8d152af51ddf14601d62a9d5a61e646d9
treec075b31c5d5103f5567610074ebde2c4b8841603
parent63de4863696be665f4075bbd963dc59845a79d3d

upgrade to zig 0.14-dev.3224+5ab511307


18 files changed, 23 insertions(+), 23 deletions(-)

deps.zig+3-3
...@@ -40,9 +40,9 @@ pub const GitExactStep = struct {...@@ -40,9 +40,9 @@ pub const GitExactStep = struct {
40 return result;40 return result;
41 }41 }
4242
43 fn make(step: *std.Build.Step, prog_node: std.Progress.Node) !void {43 fn make(step: *std.Build.Step, options: std.Build.Step.MakeOptions) !void {
44 _ = step;44 _ = step;
45 _ = prog_node;45 _ = options;
46 }46 }
47};47};
4848
...@@ -121,7 +121,7 @@ pub const Package = struct {...@@ -121,7 +121,7 @@ pub const Package = struct {
121 const result = b.createModule(.{});121 const result = b.createModule(.{});
122 const dummy_library = b.addStaticLibrary(.{122 const dummy_library = b.addStaticLibrary(.{
123 .name = "dummy",123 .name = "dummy",
124 .target = exe.root_module.resolved_target orelse b.host,124 .target = exe.root_module.resolved_target orelse b.graph.host,
125 .optimize = exe.root_module.optimize.?,125 .optimize = exe.root_module.optimize.?,
126 });126 });
127 dummy_library.step.dependOn(fetch_step);127 dummy_library.step.dependOn(fetch_step);
src/cmd/aq.zig+1-1
...@@ -19,7 +19,7 @@ pub const commands = struct {...@@ -19,7 +19,7 @@ pub const commands = struct {
1919
20pub const server_root = "https://aquila.red";20pub const server_root = "https://aquila.red";
2121
22pub fn execute(self_name: []const u8, args: [][]u8) !void {22pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
23 if (args.len == 0) {23 if (args.len == 0) {
24 std.debug.print("{s}\n", .{24 std.debug.print("{s}\n", .{
25 \\This is a subcommand for use with https://github.com/nektro/aquila instances but has no default behavior on its own aside from showing you this nice help text.25 \\This is a subcommand for use with https://github.com/nektro/aquila instances but has no default behavior on its own aside from showing you this nice help text.
src/cmd/aquila/add.zig+1-1
...@@ -8,7 +8,7 @@ const aq = @import("./../aq.zig");...@@ -8,7 +8,7 @@ const aq = @import("./../aq.zig");
8//8//
9//9//
1010
11pub fn execute(self_name: []const u8, args: [][]u8) !void {11pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
12 _ = self_name;12 _ = self_name;
1313
14 const pkg_id = args[0];14 const pkg_id = args[0];
src/cmd/aquila/install.zig+1-1
...@@ -8,7 +8,7 @@ const zigmod = @import("../../lib.zig");...@@ -8,7 +8,7 @@ const zigmod = @import("../../lib.zig");
8const u = @import("./../../util/index.zig");8const u = @import("./../../util/index.zig");
9const common = @import("./../../common.zig");9const common = @import("./../../common.zig");
1010
11pub fn execute(self_name: []const u8, args: [][]u8) !void {11pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
12 _ = self_name;12 _ = self_name;
1313
14 const home = try knownfolders.getPath(gpa, .home);14 const home = try knownfolders.getPath(gpa, .home);
src/cmd/aquila/showjson.zig+1-1
...@@ -6,7 +6,7 @@ const aq = @import("./../aq.zig");...@@ -6,7 +6,7 @@ const aq = @import("./../aq.zig");
6//6//
7//7//
88
9pub fn execute(self_name: []const u8, args: [][]u8) !void {9pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
10 _ = self_name;10 _ = self_name;
1111
12 const out = std.io.getStdOut().writer();12 const out = std.io.getStdOut().writer();
src/cmd/aquila/update.zig+1-1
...@@ -8,7 +8,7 @@ const zigmod = @import("../../lib.zig");...@@ -8,7 +8,7 @@ const zigmod = @import("../../lib.zig");
8const u = @import("./../../util/index.zig");8const u = @import("./../../util/index.zig");
9const common = @import("./../../common.zig");9const common = @import("./../../common.zig");
1010
11pub fn execute(self_name: []const u8, args: [][]u8) !void {11pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
12 _ = self_name;12 _ = self_name;
1313
14 const home = try knownfolders.getPath(gpa, .home);14 const home = try knownfolders.getPath(gpa, .home);
src/cmd/ci.zig+1-1
...@@ -8,7 +8,7 @@ const common = @import("./../common.zig");...@@ -8,7 +8,7 @@ const common = @import("./../common.zig");
8// Inspired by:8// Inspired by:
9// https://docs.npmjs.com/cli/v7/commands/npm-ci9// https://docs.npmjs.com/cli/v7/commands/npm-ci
1010
11pub fn execute(self_name: []const u8, args: [][]u8) !void {11pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
12 _ = self_name;12 _ = self_name;
13 _ = args;13 _ = args;
1414
src/cmd/fetch.zig+2-2
...@@ -11,7 +11,7 @@ const license = @import("./license.zig");...@@ -11,7 +11,7 @@ const license = @import("./license.zig");
11//11//
12//12//
1313
14pub fn execute(self_name: []const u8, args: [][]u8) !void {14pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
15 _ = self_name;15 _ = self_name;
1616
17 const gpa = std.heap.c_allocator;17 const gpa = std.heap.c_allocator;
...@@ -87,7 +87,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D...@@ -87,7 +87,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D
87 \\ }87 \\ }
88 \\ const b = exe.step.owner;88 \\ const b = exe.step.owner;
89 \\ const result = b.createModule(.{89 \\ const result = b.createModule(.{
90 \\ .target = exe.root_module.resolved_target orelse b.host,90 \\ .target = exe.root_module.resolved_target orelse b.graph.host,
91 \\ });91 \\ });
92 \\ if (self.import) |capture| {92 \\ if (self.import) |capture| {
93 \\ result.root_source_file = capture[1];93 \\ result.root_source_file = capture[1];
src/cmd/generate.zig+3-3
...@@ -9,7 +9,7 @@ const common = @import("./../common.zig");...@@ -9,7 +9,7 @@ const common = @import("./../common.zig");
9//9//
10//10//
1111
12pub fn execute(self_name: []const u8, args: [][]u8) !void {12pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
13 _ = self_name;13 _ = self_name;
14 _ = args;14 _ = args;
1515
...@@ -83,9 +83,9 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D...@@ -83,9 +83,9 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D
83 \\ return result;83 \\ return result;
84 \\ }84 \\ }
85 \\85 \\
86 \\ fn make(step: *std.Build.Step, prog_node: std.Progress.Node) !void {86 \\ fn make(step: *std.Build.Step, options: std.Build.Step.MakeOptions) !void {
87 \\ _ = step;87 \\ _ = step;
88 \\ _ = prog_node;88 \\ _ = options;
89 \\ }89 \\ }
90 \\};90 \\};
91 \\91 \\
src/cmd/init.zig+1-1
...@@ -13,7 +13,7 @@ const u = @import("./../util/index.zig");...@@ -13,7 +13,7 @@ const u = @import("./../util/index.zig");
13//13//
14//14//
1515
16pub fn execute(self_name: []const u8, args: [][]u8) !void {16pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
17 _ = self_name;17 _ = self_name;
1818
19 std.debug.print("This utility will walk you through creating a zigmod.yml file.\n", .{});19 std.debug.print("This utility will walk you through creating a zigmod.yml file.\n", .{});
src/cmd/license.zig+1-1
...@@ -15,7 +15,7 @@ const Map = std.StringArrayHashMap(*List);...@@ -15,7 +15,7 @@ const Map = std.StringArrayHashMap(*List);
15// Inspired by:15// Inspired by:
16// https://github.com/onur/cargo-license16// https://github.com/onur/cargo-license
1717
18pub fn execute(self_name: []const u8, args: [][]u8) !void {18pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
19 _ = self_name;19 _ = self_name;
20 _ = args;20 _ = args;
2121
src/cmd/sum.zig+1-1
...@@ -8,7 +8,7 @@ const common = @import("./../common.zig");...@@ -8,7 +8,7 @@ const common = @import("./../common.zig");
8//8//
9//9//
1010
11pub fn execute(self_name: []const u8, args: [][]u8) !void {11pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
12 _ = self_name;12 _ = self_name;
13 _ = args;13 _ = args;
1414
src/cmd/version.zig+1-1
...@@ -7,7 +7,7 @@ const u = @import("./../util/index.zig");...@@ -7,7 +7,7 @@ const u = @import("./../util/index.zig");
7//7//
8//8//
99
10pub fn execute(self_name: []const u8, args: [][]u8) !void {10pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
11 _ = self_name;11 _ = self_name;
12 _ = args;12 _ = args;
1313
src/cmd/zpm.zig+1-1
...@@ -30,7 +30,7 @@ pub const Package = struct {...@@ -30,7 +30,7 @@ pub const Package = struct {
30 links: []const string,30 links: []const string,
31};31};
3232
33pub fn execute(self_name: []const u8, args: [][]u8) !void {33pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
34 if (args.len == 0) {34 if (args.len == 0) {
35 std.debug.print("{s}\n", .{35 std.debug.print("{s}\n", .{
36 \\This is a subcommand for use with https://github.com/zigtools/zpm-server instances but has no default behavior on its own aside from showing you this nice help text.36 \\This is a subcommand for use with https://github.com/zigtools/zpm-server instances but has no default behavior on its own aside from showing you this nice help text.
src/cmd/zpm/add.zig+1-1
...@@ -10,7 +10,7 @@ const zpm = @import("./../zpm.zig");...@@ -10,7 +10,7 @@ const zpm = @import("./../zpm.zig");
10//10//
11//11//
1212
13pub fn execute(self_name: []const u8, args: [][]u8) !void {13pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
14 _ = self_name;14 _ = self_name;
1515
16 const url = try std.mem.join(gpa, "/", &.{ zpm.server_root, "packages" });16 const url = try std.mem.join(gpa, "/", &.{ zpm.server_root, "packages" });
src/cmd/zpm/search.zig+1-1
...@@ -7,7 +7,7 @@ const zpm = @import("./../zpm.zig");...@@ -7,7 +7,7 @@ const zpm = @import("./../zpm.zig");
7//7//
8//8//
99
10pub fn execute(self_name: []const u8, args: [][]u8) !void {10pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
11 _ = self_name;11 _ = self_name;
12 _ = args;12 _ = args;
1313
src/cmd/zpm/showjson.zig+1-1
...@@ -6,7 +6,7 @@ const zpm = @import("./../zpm.zig");...@@ -6,7 +6,7 @@ const zpm = @import("./../zpm.zig");
6//6//
7//7//
88
9pub fn execute(self_name: []const u8, args: [][]u8) !void {9pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
10 _ = self_name;10 _ = self_name;
1111
12 const out = std.io.getStdOut().writer();12 const out = std.io.getStdOut().writer();
src/cmd/zpm/tags.zig+1-1
...@@ -7,7 +7,7 @@ const zpm = @import("./../zpm.zig");...@@ -7,7 +7,7 @@ const zpm = @import("./../zpm.zig");
7//7//
8//8//
99
10pub fn execute(self_name: []const u8, args: [][]u8) !void {10pub fn execute(self_name: []const u8, args: [][:0]u8) !void {
11 _ = self_name;11 _ = self_name;
12 _ = args;12 _ = args;
1313