authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2021-01-11 01:51:49 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2021-01-11 01:51:49 -08:00
loga8aa99bf4186ddaf3cdeda1c52fb2ed23543a07d
tree6e949d0de4151fd18eabdfd689f8369c0ba4440a
parent84ee7dbfd0472e0c008ba4181d198792cd7a6fee

fetch: remove accidentally committed debug line


1 files changed, 0 insertions(+), 4 deletions(-)

src/cmd_fetch.zig-4
...@@ -52,9 +52,6 @@ pub fn execute(args: [][]u8) !void {...@@ -52,9 +52,6 @@ pub fn execute(args: [][]u8) !void {
5252
53 const list = &std.ArrayList(u.Module).init(gpa);53 const list = &std.ArrayList(u.Module).init(gpa);
54 try collect_pkgs(top_module, list);54 try collect_pkgs(top_module, list);
55 for (list.items) |m, i| {
56 std.debug.print("module: {} {}\n", .{i, m.clean_path});
57 }
5855
59 try w.writeAll("pub const _ids = .{\n");56 try w.writeAll("pub const _ids = .{\n");
60 try print_ids(w, list.items);57 try print_ids(w, list.items);
...@@ -87,7 +84,6 @@ pub fn execute(args: [][]u8) !void {...@@ -87,7 +84,6 @@ pub fn execute(args: [][]u8) !void {
87 try w.writeAll("pub const system_libs = &[_][]const u8{\n");84 try w.writeAll("pub const system_libs = &[_][]const u8{\n");
88 try print_sys_libs_to(w, list.items, &std.ArrayList([]const u8).init(gpa));85 try print_sys_libs_to(w, list.items, &std.ArrayList([]const u8).init(gpa));
89 try w.writeAll("};\n");86 try w.writeAll("};\n");
90 try w.writeAll("};\n");
91}87}
9288
93fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module {89fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module {