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:
2626 - name: Setup Zig
2727 uses: goto-bus-stop/setup-zig@v1
2828 with:
29 version: "0.10.0-dev.2802+54454fd01"
29 version: "0.10.0-dev.3017+da94227f7"
3030
3131 - run: zig version
3232 - run: zig env
.github/workflows/push.yml+1-1
......@@ -19,7 +19,7 @@ jobs:
1919 - name: Setup Zig
2020 uses: goto-bus-stop/setup-zig@v1
2121 with:
22 version: "0.10.0-dev.2802+54454fd01"
22 version: "0.10.0-dev.3017+da94227f7"
2323
2424 - run: zig version
2525 - run: zig env
README.md+1-1
......@@ -17,7 +17,7 @@ A package manager for the Zig programming language.
1717- https://github.com/nektro/zigmod/releases
1818
1919## Built With
20- Zig master (at least `0.10.0-dev.2802+54454fd01`)
20- Zig master (at least `0.10.0-dev.3017+da94227f7`)
2121- See [`zig.mod`](./zig.mod) and [`zigmod.lock`](./zigmod.lock)
2222
2323### Build from Source
deps.zig+1-1
......@@ -51,7 +51,7 @@ pub const Package = struct {
5151};
5252
5353fn 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;
5555 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}));
5656}
5757
docs/README.md+1-1
......@@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed.
1010
1111As 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
1515## Download
1616You 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:
299299 defer map.deinit();
300300
301301 for (dirs) |dir_path| {
302 const dir = try mdir.openDir(dir_path, .{ .iterate = true });
302 const dir = try mdir.openIterableDir(dir_path, .{});
303303 var walker = try dir.walk(alloc);
304304 defer walker.deinit();
305305 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 {
113113 var list = std.ArrayList(string).init(alloc);
114114 defer list.deinit();
115115
116 const dir = try std.fs.cwd().openDir(dpath, .{ .iterate = true });
116 const dir = try std.fs.cwd().openIterableDir(dpath, .{});
117117 var walk = try dir.walk(alloc);
118118 defer walk.deinit();
119119 while (true) {
zig.mod+1-1
......@@ -3,7 +3,7 @@ name: zigmod
33main: src/lib.zig
44license: MIT
55description: A package manager for the Zig programming language.
6min_zig_version: 0.10.0-dev.2802+54454fd01
6min_zig_version: 0.10.0-dev.3017+da94227f7
77dependencies:
88 - src: git https://github.com/yaml/libyaml tag-0.2.5
99 id: 8mdbh0zuneb0i3hs5jby5je0heem1i6yxusl7c8y8qx68hqc
zigmod.lock+1-1
......@@ -8,7 +8,7 @@ git https://github.com/truemedian/hzzp commit-bf5aaf224e94561e035a631c3c40fbf02f
88git https://github.com/nektro/iguanaTLS commit-09d9fe92f329484536dfb2b07cfa8b406151cde4
99git https://github.com/MasterQ32/zig-uri commit-e879df3a236869f92298fbe2db3c25e6e84cfd4c
1010git https://github.com/nektro/zig-json commit-a091eaa9f9ae91c3875630ba1983b33ea04971a3
11git https://github.com/nektro/zig-extras commit-b16f583d5af5c86c92237bf56fa8063a5e9961c3
11git https://github.com/nektro/zig-extras commit-01fae956e2f17aa992e717e041a3dd457d440b31
1212git https://github.com/nektro/zig-range commit-4b2f12808aa09be4b27a163efc424dd4e0415992
1313git https://github.com/nektro/zig-detect-license commit-de5c285d999eea68b9189b48bb000243fef0a689
1414git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c