diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a1916346d15584e4c818e3edbe33e482d85b5125..805bc8063cbc9f2a2b6eaa60adb0a5e9c807b049 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Zig uses: goto-bus-stop/setup-zig@v1 with: - version: "0.10.0-dev.3017+da94227f7" + version: "0.10.0-dev.3316+a0d3a87ce" - run: zig version - run: zig env diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index fcf9cbcff6fc8187e477b2280c8bf56afd8160d0..91ba41116ad643f787fe6ce35e8ae2da7d7ba982 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Zig uses: goto-bus-stop/setup-zig@v1 with: - version: "0.10.0-dev.3017+da94227f7" + version: "0.10.0-dev.3316+a0d3a87ce" - run: zig version - run: zig env diff --git a/README.md b/README.md index e0f0266ffa3b5ddbb43d9821f56d6f6886c88f32..6a19a699585ef68ebc1f839273e03d68f0a40870 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ A package manager for the Zig programming language. - https://github.com/nektro/zigmod/releases ## Built With -- Zig master (at least `0.10.0-dev.3017+da94227f7`) +- Zig master (at least `0.10.0-dev.3316+a0d3a87ce`) - See [`zig.mod`](./zig.mod) and [`zigmod.lock`](./zigmod.lock) ### Build from Source diff --git a/deps.zig b/deps.zig index 04c66ef08b74e66cf227660d0345f024d161f444..0ef29b3b19cd81dc0b38c375598ce5f66818acd0 100644 --- a/deps.zig +++ b/deps.zig @@ -51,7 +51,7 @@ pub const Package = struct { }; fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void { - const min = std.SemanticVersion.parse("0.10.0-dev.3017+da94227f7") catch return; + const min = std.SemanticVersion.parse("0.10.0-dev.3316+a0d3a87ce") catch return; 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})); } diff --git a/docs/README.md b/docs/README.md index 42abc7aff191d1dcedbc0d054488071c69fece4e..27f2eaea34cb8c0c24e5e9ecd0020ce529362179 100644 --- a/docs/README.md +++ b/docs/README.md @@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed. As 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. -The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.3017+da94227f7`. +The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.3316+a0d3a87ce`. ## Download You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. diff --git a/src/cmd/fetch.zig b/src/cmd/fetch.zig index 6b71ae2c9376ef51a2a4b1b3fc070a45832b9110..855e029189d236de83aca64010670247c206c21f 100644 --- a/src/cmd/fetch.zig +++ b/src/cmd/fetch.zig @@ -102,7 +102,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D try w.print( \\fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {{ - \\ const min = std.SemanticVersion.parse("{}") catch return; + \\ const min = std.SemanticVersion.parse("{?}") catch return; \\ 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}})); \\}} \\ diff --git a/zig.mod b/zig.mod index 3dbea4c01784a660a5c4d726aa473cc8d56215c5..a7799d9291ce64fc4c79b52cb35959a6a893beea 100644 --- a/zig.mod +++ b/zig.mod @@ -3,7 +3,7 @@ name: zigmod main: src/lib.zig license: MIT description: A package manager for the Zig programming language. -min_zig_version: 0.10.0-dev.3017+da94227f7 +min_zig_version: 0.10.0-dev.3316+a0d3a87ce dependencies: - src: git https://github.com/yaml/libyaml tag-0.2.5 id: 8mdbh0zuneb0i3hs5jby5je0heem1i6yxusl7c8y8qx68hqc