authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-08-10 19:11:15 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-08-10 19:11:15 -07:00
log4dcf75a81415ae5e3bc105e0bd5b027ad4a00a12
tree3b65452f44608ebc4e6ec0ff0c189437afda3dd2
parentdf8e6780670678429cf2f535fd882a771a2aac9d

update to zig master 0.10.0-dev.3017+da94227f7

closes #74

9 files changed, 9 insertions(+), 9 deletions(-)

.github/workflows/nightly.yml+1-1
...@@ -26,7 +26,7 @@ jobs:...@@ -26,7 +26,7 @@ jobs:
26 - name: Setup Zig26 - name: Setup Zig
27 uses: goto-bus-stop/setup-zig@v127 uses: goto-bus-stop/setup-zig@v1
28 with:28 with:
29 version: "0.10.0-dev.2802+54454fd01"29 version: "0.10.0-dev.3017+da94227f7"
3030
31 - run: zig version31 - run: zig version
32 - run: zig env32 - run: zig env
.github/workflows/push.yml+1-1
...@@ -19,7 +19,7 @@ jobs:...@@ -19,7 +19,7 @@ jobs:
19 - name: Setup Zig19 - name: Setup Zig
20 uses: goto-bus-stop/setup-zig@v120 uses: goto-bus-stop/setup-zig@v1
21 with:21 with:
22 version: "0.10.0-dev.2802+54454fd01"22 version: "0.10.0-dev.3017+da94227f7"
2323
24 - run: zig version24 - run: zig version
25 - run: zig env25 - run: zig env
README.md+1-1
...@@ -17,7 +17,7 @@ A package manager for the Zig programming language....@@ -17,7 +17,7 @@ A package manager for the Zig programming language.
17- https://github.com/nektro/zigmod/releases17- https://github.com/nektro/zigmod/releases
1818
19## Built With19## Built With
20- Zig master (at least `0.10.0-dev.2802+54454fd01`)20- Zig master (at least `0.10.0-dev.3017+da94227f7`)
21- See [`zig.mod`](./zig.mod) and [`zigmod.lock`](./zigmod.lock)21- See [`zig.mod`](./zig.mod) and [`zigmod.lock`](./zigmod.lock)
2222
23### Build from Source23### Build from Source
deps.zig+1-1
...@@ -51,7 +51,7 @@ pub const Package = struct {...@@ -51,7 +51,7 @@ pub const Package = struct {
51};51};
5252
53fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {53fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {
54 const min = std.SemanticVersion.parse("0.10.0-dev.2802+54454fd01") catch return;54 const min = std.SemanticVersion.parse("0.10.0-dev.3017+da94227f7") catch return;
55 if (current.order(min).compare(.lt)) @panic(exe.builder.fmt("Your Zig version v{} does not meet the minimum build requirement of v{}", .{current, min}));55 if (current.order(min).compare(.lt)) @panic(exe.builder.fmt("Your Zig version v{} does not meet the minimum build requirement of v{}", .{current, min}));
56}56}
5757
docs/README.md+1-1
...@@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed....@@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed.
1010
11As Zig is still in development itself, if you plan to contribute to Zigmod you will need a master download of Zig. Those can be obtained from https://ziglang.org/download/#release-master.11As Zig is still in development itself, if you plan to contribute to Zigmod you will need a master download of Zig. Those can be obtained from https://ziglang.org/download/#release-master.
1212
13The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.2802+54454fd01`.13The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.3017+da94227f7`.
1414
15## Download15## Download
16You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source.16You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source.
src/common.zig+1-1
...@@ -299,7 +299,7 @@ pub fn add_files_package(alloc: std.mem.Allocator, cachepath: string, pkg_name:...@@ -299,7 +299,7 @@ pub fn add_files_package(alloc: std.mem.Allocator, cachepath: string, pkg_name:
299 defer map.deinit();299 defer map.deinit();
300300
301 for (dirs) |dir_path| {301 for (dirs) |dir_path| {
302 const dir = try mdir.openDir(dir_path, .{ .iterate = true });302 const dir = try mdir.openIterableDir(dir_path, .{});
303 var walker = try dir.walk(alloc);303 var walker = try dir.walk(alloc);
304 defer walker.deinit();304 defer walker.deinit();
305 while (try walker.next()) |p| {305 while (try walker.next()) |p| {
src/util/funcs.zig+1-1
...@@ -113,7 +113,7 @@ pub fn file_list(alloc: std.mem.Allocator, dpath: string) ![]const string {...@@ -113,7 +113,7 @@ pub fn file_list(alloc: std.mem.Allocator, dpath: string) ![]const string {
113 var list = std.ArrayList(string).init(alloc);113 var list = std.ArrayList(string).init(alloc);
114 defer list.deinit();114 defer list.deinit();
115115
116 const dir = try std.fs.cwd().openDir(dpath, .{ .iterate = true });116 const dir = try std.fs.cwd().openIterableDir(dpath, .{});
117 var walk = try dir.walk(alloc);117 var walk = try dir.walk(alloc);
118 defer walk.deinit();118 defer walk.deinit();
119 while (true) {119 while (true) {
zig.mod+1-1
...@@ -3,7 +3,7 @@ name: zigmod...@@ -3,7 +3,7 @@ name: zigmod
3main: src/lib.zig3main: src/lib.zig
4license: MIT4license: MIT
5description: A package manager for the Zig programming language.5description: A package manager for the Zig programming language.
6min_zig_version: 0.10.0-dev.2802+54454fd016min_zig_version: 0.10.0-dev.3017+da94227f7
7dependencies:7dependencies:
8 - src: git https://github.com/yaml/libyaml tag-0.2.58 - src: git https://github.com/yaml/libyaml tag-0.2.5
9 id: 8mdbh0zuneb0i3hs5jby5je0heem1i6yxusl7c8y8qx68hqc9 id: 8mdbh0zuneb0i3hs5jby5je0heem1i6yxusl7c8y8qx68hqc
zigmod.lock+1-1
...@@ -8,7 +8,7 @@ git https://github.com/truemedian/hzzp commit-bf5aaf224e94561e035a631c3c40fbf02f...@@ -8,7 +8,7 @@ git https://github.com/truemedian/hzzp commit-bf5aaf224e94561e035a631c3c40fbf02f
8git https://github.com/nektro/iguanaTLS commit-09d9fe92f329484536dfb2b07cfa8b406151cde48git https://github.com/nektro/iguanaTLS commit-09d9fe92f329484536dfb2b07cfa8b406151cde4
9git https://github.com/MasterQ32/zig-uri commit-e879df3a236869f92298fbe2db3c25e6e84cfd4c9git https://github.com/MasterQ32/zig-uri commit-e879df3a236869f92298fbe2db3c25e6e84cfd4c
10git https://github.com/nektro/zig-json commit-a091eaa9f9ae91c3875630ba1983b33ea04971a310git https://github.com/nektro/zig-json commit-a091eaa9f9ae91c3875630ba1983b33ea04971a3
11git https://github.com/nektro/zig-extras commit-b16f583d5af5c86c92237bf56fa8063a5e9961c311git https://github.com/nektro/zig-extras commit-01fae956e2f17aa992e717e041a3dd457d440b31
12git https://github.com/nektro/zig-range commit-4b2f12808aa09be4b27a163efc424dd4e041599212git https://github.com/nektro/zig-range commit-4b2f12808aa09be4b27a163efc424dd4e0415992
13git https://github.com/nektro/zig-detect-license commit-de5c285d999eea68b9189b48bb000243fef0a68913git https://github.com/nektro/zig-detect-license commit-de5c285d999eea68b9189b48bb000243fef0a689
14git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c14git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c