| ... | ... | @@ -3395,6 +3395,14 @@ fn buildOutputType( |
| 3395 | 3395 | var file_system_inputs: std.ArrayListUnmanaged(u8) = .empty; |
| 3396 | 3396 | defer file_system_inputs.deinit(gpa); |
| 3397 | 3397 | |
| 3398 | // Deduplicate rpath entries |
| 3399 | var rpath_dedup = std.StringArrayHashMapUnmanaged(void){}; |
| 3400 | for (create_module.rpath_list.items) |rpath| { |
| 3401 | try rpath_dedup.put(arena, rpath, {}); |
| 3402 | } |
| 3403 | create_module.rpath_list.clearRetainingCapacity(); |
| 3404 | try create_module.rpath_list.appendSlice(arena, rpath_dedup.keys()); |
| 3405 | |
| 3398 | 3406 | var create_diag: Compilation.CreateDiagnostic = undefined; |
| 3399 | 3407 | const comp = Compilation.create(gpa, arena, &create_diag, .{ |
| 3400 | 3408 | .dirs = dirs, |