zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 871591ca1c4983448be8ab96f64dbd56b3c5b0e5 (tree)
parent b3f40c35dc0bc4a09124918da3651bbae823b4a6
Author: Jakub Konka <kubkon@jakubkonka.com>
Date:   Tue, 10 Oct 2023 00:32:28 +0200

elf: fix conflicts after rebase gone bad

Diffstat:
Msrc/link/Elf.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/link/Elf.zig b/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;