| ... | @@ -279,7 +279,7 @@ pub fn openPath(allocator: Allocator, sub_path: []const u8, options: link.Option | ... | @@ -279,7 +279,7 @@ pub fn openPath(allocator: Allocator, sub_path: []const u8, options: link.Option |
| 279 | const index = @as(File.Index, @intCast(try self.files.addOne(allocator))); | 279 | const index = @as(File.Index, @intCast(try self.files.addOne(allocator))); |
| 280 | self.files.set(index, .{ .zig_module = .{ | 280 | self.files.set(index, .{ .zig_module = .{ |
| 281 | .index = index, | 281 | .index = index, |
| 282 | .path = options.module.?.main_pkg.root_src_path, | 282 | .path = options.module.?.main_mod.root_src_path, |
| 283 | } }); | 283 | } }); |
| 284 | self.zig_module_index = index; | 284 | self.zig_module_index = index; |
| 285 | const zig_module = self.file(index).?.zig_module; | 285 | const zig_module = self.file(index).?.zig_module; |