aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorDavid Rubin <daviru007@icloud.com>2024-08-11 21:26:01 -0700
committerDavid Rubin <daviru007@icloud.com>2024-08-25 15:17:21 -0700
commit863f74dcd20e56876bdc9a86fccf4e2e07b1a60e (patch)
tree1434505624c36471748ed6e06523074404aab267 /src/link.zig
parentbb531759bcf12191b60ea199594b8d1de30dabe7 (diff)
downloadzig-863f74dcd20e56876bdc9a86fccf4e2e07b1a60e.tar.gz
zig-863f74dcd20e56876bdc9a86fccf4e2e07b1a60e.zip
comp: rename `module` to `zcu`
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig
index 894074cdda..635fdb49fa 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -755,7 +755,7 @@ pub const File = struct {
const directory = base.emit.root_dir; // Just an alias to make it shorter to type.
const full_out_path = try directory.join(arena, &[_][]const u8{base.emit.sub_path});
const full_out_path_z = try arena.dupeZ(u8, full_out_path);
- const opt_zcu = comp.module;
+ const opt_zcu = comp.zcu;
// 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.