| ... | @@ -52,9 +52,6 @@ pub fn execute(args: [][]u8) !void { | ... | @@ -52,9 +52,6 @@ pub fn execute(args: [][]u8) !void { |
| 52 | | 52 | |
| 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 | } | | |
| 58 | | 55 | |
| 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 | } |
| 92 | | 88 | |
| 93 | fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module { | 89 | fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module { |