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:...@@ -15,7 +15,7 @@ jobs:
15 - run: git submodule update --init --recursive15 - run: git submodule update --init --recursive
1616
17 - run: apt -y install xz-utils jq17 - run: apt -y install xz-utils jq
18 - run: ./download_zig.sh 0.9.0-dev.689+507dc1f2e18 - run: ./download_zig.sh 0.9.0-dev.794+65208a7fa
19 - run: zig version19 - run: zig version
20 - run: zig env20 - run: zig env
21 - run: zig build -Dbootstrap21 - run: zig build -Dbootstrap
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 `0.9.0-dev.689+507dc1f2e`20- Zig master `0.9.0-dev.794+65208a7fa`
21- https://github.com/yaml/libyaml21- https://github.com/yaml/libyaml
22- https://github.com/nektro/zig-ansi22- https://github.com/nektro/zig-ansi
23- https://github.com/ziglibs/known-folders23- 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....@@ -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 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
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.
src/common.zig+2-2
...@@ -349,7 +349,7 @@ pub fn parse_lockfile(path: []const u8) ![]const [4][]const u8 {...@@ -349,7 +349,7 @@ pub fn parse_lockfile(path: []const u8) ![]const [4][]const u8 {
349 }349 }
350 switch (v) {350 switch (v) {
351 1 => {351 1 => {
352 var iter = std.mem.split(line, " ");352 var iter = std.mem.split(u8, line, " ");
353 try list.append([4][]const u8{353 try list.append([4][]const u8{
354 iter.next().?,354 iter.next().?,
355 iter.next().?,355 iter.next().?,
...@@ -358,7 +358,7 @@ pub fn parse_lockfile(path: []const u8) ![]const [4][]const u8 {...@@ -358,7 +358,7 @@ pub fn parse_lockfile(path: []const u8) ![]const [4][]const u8 {
358 });358 });
359 },359 },
360 2 => {360 2 => {
361 var iter = std.mem.split(line, " ");361 var iter = std.mem.split(u8, line, " ");
362 const asdep = u.Dep{362 const asdep = u.Dep{
363 .type = std.meta.stringToEnum(u.DepType, iter.next().?).?,363 .type = std.meta.stringToEnum(u.DepType, iter.next().?).?,
364 .path = iter.next().?,364 .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 {...@@ -35,7 +35,7 @@ pub fn try_index(comptime T: type, array: []T, n: usize, def: T) T {
35pub fn split(in: []const u8, delim: []const u8) ![][]const u8 {35pub fn split(in: []const u8, delim: []const u8) ![][]const u8 {
36 var list = std.ArrayList([]const u8).init(gpa);36 var list = std.ArrayList([]const u8).init(gpa);
37 defer list.deinit();37 defer list.deinit();
38 const iter = &std.mem.split(in, delim);38 var iter = std.mem.split(u8, in, delim);
39 while (iter.next()) |str| {39 while (iter.next()) |str| {
40 try list.append(str);40 try list.append(str);
41 }41 }
...@@ -214,7 +214,7 @@ pub fn parse_split(comptime T: type, delim: []const u8) type {...@@ -214,7 +214,7 @@ pub fn parse_split(comptime T: type, delim: []const u8) type {
214 string: []const u8,214 string: []const u8,
215215
216 pub fn do(input: []const u8) !Self {216 pub fn do(input: []const u8) !Self {
217 const iter = &std.mem.split(input, delim);217 var iter = std.mem.split(u8, input, delim);
218 return Self{218 return Self{
219 .id = std.meta.stringToEnum(T, iter.next() orelse return error.IterEmpty) orelse return error.NoMemberFound,219 .id = std.meta.stringToEnum(T, iter.next() orelse return error.IterEmpty) orelse return error.NoMemberFound,
220 .string = iter.rest(),220 .string = iter.rest(),
src/util/modfile.zig+1-1
...@@ -79,7 +79,7 @@ pub const ModFile = struct {...@@ -79,7 +79,7 @@ pub const ModFile = struct {
79 var main = item.mapping.get_string("main");79 var main = item.mapping.get_string("main");
8080
81 if (item.mapping.get("src")) |val| {81 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, " ");
83 dtype = src_iter.next().?;83 dtype = src_iter.next().?;
84 path = src_iter.next().?;84 path = src_iter.next().?;
85 if (src_iter.next()) |dver| {85 if (src_iter.next()) |dver| {
zigmod.lock+4-4
...@@ -1,10 +1,10 @@...@@ -1,10 +1,10 @@
1212
2git https://github.com/yaml/libyaml tag-0.2.52git https://github.com/yaml/libyaml tag-0.2.5
3git https://github.com/nektro/zig-ansi commit-d4a53bcac5b87abecc65491109ec22aaf5f3dc2f3git https://github.com/nektro/zig-ansi commit-d4a53bcac5b87abecc65491109ec22aaf5f3dc2f
4git https://github.com/ziglibs/known-folders commit-f5e5fb8370de41fbc220c0c0770d62bdf00530ea4git https://github.com/ziglibs/known-folders commit-234b589d3cd0c00f2f675f98fd9674e208fd2bd0
5git https://github.com/nektro/zig-licenses commit-c9b8cbf3565675a056ad4e9b57cb4f84020e76805git https://github.com/nektro/zig-licenses commit-c9b8cbf3565675a056ad4e9b57cb4f84020e7680
6git https://github.com/truemedian/zfetch commit-8bbc7b34cd417794841e1432585334bc969dfe836git https://github.com/truemedian/zfetch commit-8bbc7b34cd417794841e1432585334bc969dfe83
7git https://github.com/truemedian/hzzp commit-2d30bddae3bf1eaecde5144490307604efe76f2a7git https://github.com/truemedian/hzzp commit-ca50ca11c53506ad6c084abbdf082d1d45095222
8git https://github.com/alexnask/iguanaTLS commit-0d39a361639ad5469f8e4dcdaea35446bbe54b488git https://github.com/alexnask/iguanaTLS commit-0d39a361639ad5469f8e4dcdaea35446bbe54b48
9git https://github.com/MasterQ32/zig-network commit-b9c91769d8ebd626c8e45b2abb05cbc28ccc50da9git https://github.com/MasterQ32/zig-network commit-b9c91769d8ebd626c8e45b2abb05cbc28ccc50da
10git https://github.com/MasterQ32/zig-uri commit-52cdd2061bec0579519f0d30280597f3a1db8b7510git https://github.com/MasterQ32/zig-uri commit-52cdd2061bec0579519f0d30280597f3a1db8b75
...@@ -14,6 +14,6 @@ git https://github.com/nektro/zig-detect-license commit-d4544410f811c402b866f21f...@@ -14,6 +14,6 @@ git https://github.com/nektro/zig-detect-license commit-d4544410f811c402b866f21f
14git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c14git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c
15git https://github.com/nektro/zig-leven commit-8e9f827117ab1418578b692a2325754cc3ee692d15git https://github.com/nektro/zig-leven commit-8e9f827117ab1418578b692a2325754cc3ee692d
16git https://github.com/nektro/zig-fs-check commit-dcd8da90fcb8bf3c9887e713bf0ec072bc897dd516git https://github.com/nektro/zig-fs-check commit-dcd8da90fcb8bf3c9887e713bf0ec072bc897dd5
17git https://github.com/nektro/zig-inquirer commit-00f5c71e9dda6c35d478aead9da569c02f3f8db017git https://github.com/nektro/zig-inquirer commit-9a068122c59ac2785f330c37bf4412aed644ed37
18git https://github.com/arqv/ini commit-e5296e929513eb3d86a5f815c4a4a5ecd4d8d11c18git https://github.com/arqv/ini commit-e5296e929513eb3d86a5f815c4a4a5ecd4d8d11c
19git https://github.com/marlersoft/zigwin32 commit-ca6b8e5c378e31655fa11b886b44b62f703ef09019git https://github.com/marlersoft/zigwin32 commit-aa954945e3f78ba149ff3828d151f54b4fc5ce0d