diff options
Diffstat (limited to 'src/codegen')
| -rw-r--r-- | src/codegen/llvm.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 2d989f81e2..1d8667ecb2 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -864,7 +864,7 @@ pub const Object = struct { // into the garbage can by converting into absolute paths. What // a terrible tragedy. const compile_unit_dir = blk: { - if (comp.module) |zcu| m: { + if (comp.zcu) |zcu| m: { const d = try zcu.main_mod.root.joinString(arena, ""); if (d.len == 0) break :m; if (std.fs.path.isAbsolute(d)) break :blk d; @@ -955,7 +955,7 @@ pub const Object = struct { .gpa = gpa, .builder = builder, .pt = .{ - .zcu = comp.module.?, + .zcu = comp.zcu.?, .tid = .main, }, .debug_compile_unit = debug_compile_unit, |
