authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-02-02 03:04:21 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-02-02 03:04:21 -08:00
logd3abd760a31b34e12f8a910d1c0ea2eff7344435
tree511eee8bdc6bce028b4fb51019332168259d1c6d
parent163ba497a8fba174962f9161531c7f8f550b36bc

update to zig master 0.10.0-dev.513+029844210

fixes #57

10 files changed, 12 insertions(+), 12 deletions(-)

.circleci/config.yml+1-1
......@@ -15,7 +15,7 @@ jobs:
1515 - run: git submodule update --init --recursive
1616
1717 - run: apt -y install xz-utils jq
18 - run: ./download_zig.sh 0.10.0-dev.466+e288148f6
18 - run: ./download_zig.sh 0.10.0-dev.513+029844210
1919 - run: zig version
2020 - run: zig env
2121 - run: zig build -Dbootstrap
.github/workflows/nightly.yml+1-1
......@@ -28,7 +28,7 @@ jobs:
2828 - name: Setup Zig
2929 uses: goto-bus-stop/setup-zig@v1
3030 with:
31 version: "0.10.0-dev.466+e288148f6"
31 version: "0.10.0-dev.513+029844210"
3232
3333 - run: zig version
3434 - 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.466+e288148f6`)
20- Zig master (at least `0.10.0-dev.513+029844210`)
2121- See [`zig.mod`](./zig.mod) and [`zigmod.lock`](./zigmod.lock)
2222
2323### Build from Source
deps.zig+2-2
......@@ -13,7 +13,7 @@ pub fn addAllTo(exe: *std.build.LibExeObjStep) void {
1313 }
1414 var llc = false;
1515 var vcpkg = false;
16 inline for (std.meta.declarations(package_data)) |decl| {
16 inline for (comptime std.meta.declarations(package_data)) |decl| {
1717 const pkg = @as(Package, @field(package_data, decl.name));
1818 inline for (pkg.system_libs) |item| {
1919 exe.linkSystemLibrary(item);
......@@ -44,7 +44,7 @@ pub const Package = struct {
4444};
4545
4646fn checkMinZig(current: std.SemanticVersion, exe: *std.build.LibExeObjStep) void {
47 const min = std.SemanticVersion.parse("0.10.0-dev.466+e288148f6") catch return;
47 const min = std.SemanticVersion.parse("0.10.0-dev.513+029844210") catch return;
4848 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}));
4949}
5050
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.466+e288148f6`.
13The earliest Zig release this Zigmod was verified to work with is `0.10.0-dev.513+029844210`.
1414
1515## Download
1616You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source.
src/cmd/aq.zig+1-1
......@@ -32,7 +32,7 @@ pub fn execute(args: [][]u8) !void {
3232 return;
3333 }
3434
35 inline for (std.meta.declarations(commands)) |decl| {
35 inline for (comptime std.meta.declarations(commands)) |decl| {
3636 if (std.mem.eql(u8, args[0], decl.name)) {
3737 const cmd = @field(commands, decl.name);
3838 try cmd.execute(args[1..]);
src/cmd/fetch.zig+1-1
......@@ -60,7 +60,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D
6060 \\ }
6161 \\ var llc = false;
6262 \\ var vcpkg = false;
63 \\ inline for (std.meta.declarations(package_data)) |decl| {
63 \\ inline for (comptime std.meta.declarations(package_data)) |decl| {
6464 \\ const pkg = @as(Package, @field(package_data, decl.name));
6565 \\ inline for (pkg.system_libs) |item| {
6666 \\ exe.linkSystemLibrary(item);
src/cmd/zpm.zig+1-1
......@@ -43,7 +43,7 @@ pub fn execute(args: [][]u8) !void {
4343 return;
4444 }
4545
46 inline for (std.meta.declarations(commands)) |decl| {
46 inline for (comptime std.meta.declarations(commands)) |decl| {
4747 if (std.mem.eql(u8, args[0], decl.name)) {
4848 const cmd = @field(commands, decl.name);
4949 try cmd.execute(args[1..]);
src/main.zig+2-2
......@@ -28,7 +28,7 @@ pub fn main() !void {
2828 });
2929 u.print("", .{});
3030 u.print("The commands available are:", .{});
31 inline for (std.meta.declarations(available)) |decl| {
31 inline for (comptime std.meta.declarations(available)) |decl| {
3232 u.print(" - {s}", .{decl.name});
3333 }
3434 return;
......@@ -47,7 +47,7 @@ pub fn main() !void {
4747 try zigmod.init();
4848 defer zigmod.deinit();
4949
50 inline for (std.meta.declarations(available)) |decl| {
50 inline for (comptime std.meta.declarations(available)) |decl| {
5151 if (std.mem.eql(u8, args[0], decl.name)) {
5252 const cmd = @field(available, decl.name);
5353 try cmd.execute(args[1..]);
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.466+e288148f6
6min_zig_version: 0.10.0-dev.513+029844210
77dependencies:
88 - src: git https://github.com/yaml/libyaml tag-0.2.5
99 id: 8mdbh0zuneb0i3hs5jby5je0heem1i6yxusl7c8y8qx68hqc