| author | |
| committer | |
| log | ebce19032164949684aa53bfffdfb2b24fb36af4 |
| tree | e3b5584a6c87332d3bbd42723abfa721d301cb3e |
| parent | f03829a2da1699343de1e1980a43810dfcff201e |
1 files changed, 1 insertions(+), 1 deletions(-)
src/codegen/llvm.zig+1-1| ... | ... | @@ -865,7 +865,7 @@ pub const Object = struct { |
| 865 | 865 | // a terrible tragedy. |
| 866 | 866 | const compile_unit_dir = blk: { |
| 867 | 867 | if (comp.module) |zcu| m: { |
| 868 | const d = try zcu.root_mod.root.joinString(arena, ""); | |
| 868 | const d = try zcu.main_mod.root.joinString(arena, ""); | |
| 869 | 869 | if (d.len == 0) break :m; |
| 870 | 870 | if (std.fs.path.isAbsolute(d)) break :blk d; |
| 871 | 871 | break :blk std.fs.realpathAlloc(arena, d) catch break :blk d; |