diff --git a/.circleci/config.yml b/.circleci/config.yml index e78e043bff14a7eaa1f9e516825d67794e304fcf..1a5da540ee8cdad966803ca0528aed02226e6453 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ jobs: - run: git submodule update --init --recursive - run: apt -y install xz-utils jq - - run: ./download_zig.sh 0.8.0-dev.2711+11ae6c42c + - run: ./download_zig.sh 0.8.0 - run: zig version - run: zig env - run: zig build -Dbootstrap diff --git a/README.md b/README.md index e97dec51557dffd9e27a7718527c96f66e143b2c..dd318c382154b688a626244a8b26f3d224a1cdb5 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 `0.8.0-dev.2711+11ae6c42c` +- Zig master `0.8.0` ### Build from Source Initially, diff --git a/docs/README.md b/docs/README.md index f179f98cc0437fb2b51d8ae58e6bc2adc4f9be9d..650748791328806bac55b0f38e72946f6d2886b4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -8,7 +8,7 @@ You can learn more about Zig here: 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 most recent release Zigmod was verified to work with is `0.8.0-dev.2711+11ae6c42c`. +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 most recent release Zigmod was verified to work with is `0.8.0`. ## 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/license.zig b/src/cmd/license.zig index fa142a4962abdd2845ede042f4a490b75e273ea7..5bd12d8cf4d37ab7e70a5f03883a34be181ad5b1 100644 --- a/src/cmd/license.zig +++ b/src/cmd/license.zig @@ -47,20 +47,20 @@ pub fn execute(args: [][]u8) !void { if (!map_item.found_existing) { const temp = try gpa.create(List); temp.* = List.init(gpa); - map_item.entry.value = temp; + map_item.value_ptr.* = temp; } - const tracking_list = map_item.entry.value; + const tracking_list = map_item.value_ptr.*; try tracking_list.append(item); } var iter = map.iterator(); while (iter.next()) |entry| { - std.debug.print(style.Bold ++ "{s}:\n", .{entry.key}); - if (get_license(entry.key)) |license| { + std.debug.print(style.Bold ++ "{s}:\n", .{entry.key_ptr.*}); + if (get_license(entry.key_ptr.*)) |license| { std.debug.print(style.Faint ++ "= {s}\n", .{license.url}); } std.debug.print(style.ResetIntensity, .{}); - for (entry.value.items) |item| { + for (entry.value_ptr.*.items) |item| { std.debug.print("- {s}\n", .{if (!std.mem.eql(u8, item.clean_path, "../..")) item.clean_path else "This"}); } std.debug.print("\n", .{});