From 863f74dcd20e56876bdc9a86fccf4e2e07b1a60e Mon Sep 17 00:00:00 2001 From: David Rubin Date: Sun, 11 Aug 2024 21:26:01 -0700 Subject: comp: rename `module` to `zcu` --- src/link.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/link.zig') 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. -- cgit v1.2.3