diff options
| author | David Rubin <daviru007@icloud.com> | 2024-08-11 21:26:01 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-08-25 15:17:21 -0700 |
| commit | 863f74dcd20e56876bdc9a86fccf4e2e07b1a60e (patch) | |
| tree | 1434505624c36471748ed6e06523074404aab267 /src/codegen | |
| parent | bb531759bcf12191b60ea199594b8d1de30dabe7 (diff) | |
| download | zig-863f74dcd20e56876bdc9a86fccf4e2e07b1a60e.tar.gz zig-863f74dcd20e56876bdc9a86fccf4e2e07b1a60e.zip | |
comp: rename `module` to `zcu`
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, |
