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/link/Elf.zig | |
| parent | bb531759bcf12191b60ea199594b8d1de30dabe7 (diff) | |
| download | zig-863f74dcd20e56876bdc9a86fccf4e2e07b1a60e.tar.gz zig-863f74dcd20e56876bdc9a86fccf4e2e07b1a60e.zip | |
comp: rename `module` to `zcu`
Diffstat (limited to 'src/link/Elf.zig')
| -rw-r--r-- | src/link/Elf.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/link/Elf.zig b/src/link/Elf.zig index 088485a78d..e89c475d10 100644 --- a/src/link/Elf.zig +++ b/src/link/Elf.zig @@ -212,7 +212,7 @@ pub fn createEmpty( const use_lld = build_options.have_llvm and comp.config.use_lld; const use_llvm = comp.config.use_llvm; - const opt_zcu = comp.module; + const opt_zcu = comp.zcu; const output_mode = comp.config.output_mode; const link_mode = comp.config.link_mode; const optimize_mode = comp.root_mod.optimize_mode; @@ -2084,7 +2084,7 @@ fn linkWithLLD(self: *Elf, arena: Allocator, tid: Zcu.PerThread.Id, prog_node: s // If there is no Zig code to compile, then we should skip flushing the output file because it // will not be part of the linker line anyway. - const module_obj_path: ?[]const u8 = if (comp.module != null) blk: { + const module_obj_path: ?[]const u8 = if (comp.zcu != null) blk: { try self.flushModule(arena, tid, prog_node); if (fs.path.dirname(full_out_path)) |dirname| { |
