elf: fix conflicts after rebase gone bad

This commit is contained in:
Jakub Konka 2023-10-10 00:32:28 +02:00
parent b3f40c35dc
commit 871591ca1c

View File

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