| ... | @@ -179,8 +179,8 @@ fn print_deps(w: fs.File.Writer, dir: []const u8, m: u.Module, tabs: i32) anyerr | ... | @@ -179,8 +179,8 @@ fn print_deps(w: fs.File.Writer, dir: []const u8, m: u.Module, tabs: i32) anyerr |
| 179 | try w.print("{}", .{try u.concat(&[_][]const u8{r,"}"})}); | 179 | try w.print("{}", .{try u.concat(&[_][]const u8{r,"}"})}); |
| 180 | } | 180 | } |
| 181 | | 181 | |
| 182 | if (u.list_contains(list, mod.clean_path)) { | | |
| 183 | fn print_incl_dirs_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]const u8), local: bool) anyerror!void { | 182 | fn print_incl_dirs_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]const u8), local: bool) anyerror!void { |
| | 183 | if (u.list_contains(list.items, mod.clean_path)) { |
| 184 | return; | 184 | return; |
| 185 | } | 185 | } |
| 186 | try list.append(mod.clean_path); | 186 | try list.append(mod.clean_path); |
| ... | @@ -196,8 +196,8 @@ fn print_incl_dirs_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]c | ... | @@ -196,8 +196,8 @@ fn print_incl_dirs_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]c |
| 196 | } | 196 | } |
| 197 | } | 197 | } |
| 198 | | 198 | |
| 199 | if (u.list_contains(list, mod.clean_path)) { | | |
| 200 | fn print_csrc_dirs_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]const u8), local: bool) anyerror!void { | 199 | fn print_csrc_dirs_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]const u8), local: bool) anyerror!void { |
| | 200 | if (u.list_contains(list.items, mod.clean_path)) { |
| 201 | return; | 201 | return; |
| 202 | } | 202 | } |
| 203 | try list.append(mod.clean_path); | 203 | try list.append(mod.clean_path); |
| ... | @@ -213,8 +213,8 @@ fn print_csrc_dirs_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]c | ... | @@ -213,8 +213,8 @@ fn print_csrc_dirs_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]c |
| 213 | } | 213 | } |
| 214 | } | 214 | } |
| 215 | | 215 | |
| 216 | if (u.list_contains(list, mod.clean_path)) { | | |
| 217 | fn print_csrc_flags_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]const u8), local: bool) anyerror!void { | 216 | fn print_csrc_flags_to(w: fs.File.Writer, mod: u.Module, list: *std.ArrayList([]const u8), local: bool) anyerror!void { |
| | 217 | if (u.list_contains(list.items, mod.clean_path)) { |
| 218 | return; | 218 | return; |
| 219 | } | 219 | } |
| 220 | try list.append(mod.clean_path); | 220 | try list.append(mod.clean_path); |