authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-14 00:57:14 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-14 00:57:14 -07:00
loga99d8aa0d8cbc9c8e32f44d2c5b9ca6af0a6b987
tree3b89dd30ee6cfe7d84f9d00c8236ac5c84d1c1aa
parente970ba3719c15792529200a1df3d64277b343687

update to Zig master 0.9.0-dev.794


7 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.9.0-dev.689+507dc1f2e
18 - run: ./download_zig.sh 0.9.0-dev.794+65208a7fa
1919 - run: zig version
2020 - run: zig env
2121 - run: zig build -Dbootstrap
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 `0.9.0-dev.689+507dc1f2e`
20- Zig master `0.9.0-dev.794+65208a7fa`
2121- https://github.com/yaml/libyaml
2222- https://github.com/nektro/zig-ansi
2323- https://github.com/ziglibs/known-folders
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 most recent release Zigmod was verified to work with is `0.9.0-dev.689+507dc1f2e`.
13The most recent release Zigmod was verified to work with is `0.9.0-dev.794+65208a7fa`.
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+2-2
......@@ -349,7 +349,7 @@ pub fn parse_lockfile(path: []const u8) ![]const [4][]const u8 {
349349 }
350350 switch (v) {
351351 1 => {
352 var iter = std.mem.split(line, " ");
352 var iter = std.mem.split(u8, line, " ");
353353 try list.append([4][]const u8{
354354 iter.next().?,
355355 iter.next().?,
......@@ -358,7 +358,7 @@ pub fn parse_lockfile(path: []const u8) ![]const [4][]const u8 {
358358 });
359359 },
360360 2 => {
361 var iter = std.mem.split(line, " ");
361 var iter = std.mem.split(u8, line, " ");
362362 const asdep = u.Dep{
363363 .type = std.meta.stringToEnum(u.DepType, iter.next().?).?,
364364 .path = iter.next().?,
src/util/funcs.zig+2-2
......@@ -35,7 +35,7 @@ pub fn try_index(comptime T: type, array: []T, n: usize, def: T) T {
3535pub fn split(in: []const u8, delim: []const u8) ![][]const u8 {
3636 var list = std.ArrayList([]const u8).init(gpa);
3737 defer list.deinit();
38 const iter = &std.mem.split(in, delim);
38 var iter = std.mem.split(u8, in, delim);
3939 while (iter.next()) |str| {
4040 try list.append(str);
4141 }
......@@ -214,7 +214,7 @@ pub fn parse_split(comptime T: type, delim: []const u8) type {
214214 string: []const u8,
215215
216216 pub fn do(input: []const u8) !Self {
217 const iter = &std.mem.split(input, delim);
217 var iter = std.mem.split(u8, input, delim);
218218 return Self{
219219 .id = std.meta.stringToEnum(T, iter.next() orelse return error.IterEmpty) orelse return error.NoMemberFound,
220220 .string = iter.rest(),
src/util/modfile.zig+1-1
......@@ -79,7 +79,7 @@ pub const ModFile = struct {
7979 var main = item.mapping.get_string("main");
8080
8181 if (item.mapping.get("src")) |val| {
82 var src_iter = std.mem.tokenize(val.string, " ");
82 var src_iter = std.mem.tokenize(u8, val.string, " ");
8383 dtype = src_iter.next().?;
8484 path = src_iter.next().?;
8585 if (src_iter.next()) |dver| {
zigmod.lock+4-4
......@@ -1,10 +1,10 @@
112
22git https://github.com/yaml/libyaml tag-0.2.5
33git https://github.com/nektro/zig-ansi commit-d4a53bcac5b87abecc65491109ec22aaf5f3dc2f
4git https://github.com/ziglibs/known-folders commit-f5e5fb8370de41fbc220c0c0770d62bdf00530ea
4git https://github.com/ziglibs/known-folders commit-234b589d3cd0c00f2f675f98fd9674e208fd2bd0
55git https://github.com/nektro/zig-licenses commit-c9b8cbf3565675a056ad4e9b57cb4f84020e7680
66git https://github.com/truemedian/zfetch commit-8bbc7b34cd417794841e1432585334bc969dfe83
7git https://github.com/truemedian/hzzp commit-2d30bddae3bf1eaecde5144490307604efe76f2a
7git https://github.com/truemedian/hzzp commit-ca50ca11c53506ad6c084abbdf082d1d45095222
88git https://github.com/alexnask/iguanaTLS commit-0d39a361639ad5469f8e4dcdaea35446bbe54b48
99git https://github.com/MasterQ32/zig-network commit-b9c91769d8ebd626c8e45b2abb05cbc28ccc50da
1010git https://github.com/MasterQ32/zig-uri commit-52cdd2061bec0579519f0d30280597f3a1db8b75
......@@ -14,6 +14,6 @@ git https://github.com/nektro/zig-detect-license commit-d4544410f811c402b866f21f
1414git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c
1515git https://github.com/nektro/zig-leven commit-8e9f827117ab1418578b692a2325754cc3ee692d
1616git https://github.com/nektro/zig-fs-check commit-dcd8da90fcb8bf3c9887e713bf0ec072bc897dd5
17git https://github.com/nektro/zig-inquirer commit-00f5c71e9dda6c35d478aead9da569c02f3f8db0
17git https://github.com/nektro/zig-inquirer commit-9a068122c59ac2785f330c37bf4412aed644ed37
1818git https://github.com/arqv/ini commit-e5296e929513eb3d86a5f815c4a4a5ecd4d8d11c
19git https://github.com/marlersoft/zigwin32 commit-ca6b8e5c378e31655fa11b886b44b62f703ef090
19git https://github.com/marlersoft/zigwin32 commit-aa954945e3f78ba149ff3828d151f54b4fc5ce0d