Commit 871591ca1c

Jakub Konka <kubkon@jakubkonka.com>
2023-10-10 00:32:28
elf: fix conflicts after rebase gone bad
1 parent b3f40c3
Changed files (1)
src
link
src/link/Elf.zig
@@ -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;