aboutsummaryrefslogtreecommitdiff
path: root/src/link/Wasm.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/Wasm.zig
parentbb531759bcf12191b60ea199594b8d1de30dabe7 (diff)
downloadzig-863f74dcd20e56876bdc9a86fccf4e2e07b1a60e.tar.gz
zig-863f74dcd20e56876bdc9a86fccf4e2e07b1a60e.zip
comp: rename `module` to `zcu`
Diffstat (limited to 'src/link/Wasm.zig')
-rw-r--r--src/link/Wasm.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/link/Wasm.zig b/src/link/Wasm.zig
index 2c5fc3fe7a..749719d5fc 100644
--- a/src/link/Wasm.zig
+++ b/src/link/Wasm.zig
@@ -556,7 +556,7 @@ pub fn createEmpty(
}
}
- if (comp.module) |zcu| {
+ if (comp.zcu) |zcu| {
if (!use_llvm) {
const index: File.Index = @enumFromInt(wasm.files.len);
var zig_object: ZigObject = .{
@@ -3352,7 +3352,7 @@ fn linkWithLLD(wasm: *Wasm, arena: Allocator, tid: Zcu.PerThread.Id, prog_node:
// 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 wasm.flushModule(arena, tid, prog_node);
if (fs.path.dirname(full_out_path)) |dirname| {