authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-11-16 09:09:38 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-11-16 09:13:24 -08:00
log14c64f39dcc0eb455f1f01f4dfff8d2a27097f45
tree426a2103ece10124d2cbb5fe5db9d8a801b93473
parent400c9b2c4b6fa2630933d9ccbc1d15c7401efb1d

build with stage2 by default


7 files changed, 6 insertions(+), 8 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"29 version: "0.11.0-dev.193+eed82ca28"
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"22 version: "0.11.0-dev.193+eed82ca28"
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.4099+d3d24874c`)20- Zig master (at least `0.11.0-dev.193+eed82ca28`)
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
build.zig-2
...@@ -5,8 +5,6 @@ const deps = @import("./deps.zig");...@@ -5,8 +5,6 @@ const deps = @import("./deps.zig");
55
6pub fn build(b: *std.build.Builder) void {6pub fn build(b: *std.build.Builder) void {
7 b.prominent_compile_errors = true;7 b.prominent_compile_errors = true;
8 // currently blocked on https://github.com/ziglang/zig/issues/12403
9 b.use_stage1 = !(b.option(bool, "stage2", "use the stage2 compiler") orelse false);
10 const target = b.standardTargetOptions(.{});8 const target = b.standardTargetOptions(.{});
119
12 b.setPreferredReleaseMode(.ReleaseSafe);10 b.setPreferredReleaseMode(.ReleaseSafe);
deps.zig+1-1
...@@ -143,7 +143,7 @@ pub const Package = struct {...@@ -143,7 +143,7 @@ pub const Package = struct {
143};143};
144144
145fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {145fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {
146 const min = std.SemanticVersion.parse("0.10.0-dev.4099+d3d24874c") catch return;146 const min = std.SemanticVersion.parse("0.11.0-dev.193+eed82ca28") catch return;
147 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}));147 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}));
148}148}
149149
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.4099+d3d24874c`.13The earliest Zig release this Zigmod was verified to work with is `0.11.0-dev.193+eed82ca28`.
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.
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.4099+d3d24874c6min_zig_version: 0.11.0-dev.193+eed82ca28
7dependencies:7dependencies:
8 - src: git https://gist.github.com/nektro/d468fea84f8217e4c26ee8fbeeea38cc # yaml8 - src: git https://gist.github.com/nektro/d468fea84f8217e4c26ee8fbeeea38cc # yaml
9 - src: git https://github.com/nektro/zig-ansi9 - src: git https://github.com/nektro/zig-ansi