aboutsummaryrefslogtreecommitdiff
path: root/src/link/Wasm.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2023-02-01 19:32:54 +0100
committerJakub Konka <kubkon@jakubkonka.com>2023-02-01 19:32:54 +0100
commitbeb20d29db3fe945746581eba5d2f2cae1403cdb (patch)
treea5e7a1c3a098c93f5cf8fec062dfbf0f3a85c6af /src/link/Wasm.zig
parent46f54b23ae604c3f99f51ca719d9085530f6b59c (diff)
downloadzig-beb20d29db3fe945746581eba5d2f2cae1403cdb.tar.gz
zig-beb20d29db3fe945746581eba5d2f2cae1403cdb.zip
link: remove union types which are now internal to backends
Diffstat (limited to 'src/link/Wasm.zig')
-rw-r--r--src/link/Wasm.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/Wasm.zig b/src/link/Wasm.zig
index b06703ed61..17391b017a 100644
--- a/src/link/Wasm.zig
+++ b/src/link/Wasm.zig
@@ -2829,7 +2829,7 @@ pub fn flushModule(wasm: *Wasm, comp: *Compilation, prog_node: *std.Progress.Nod
if (decl.isExtern()) continue;
const atom_index = entry.value_ptr.*;
if (decl.ty.zigTypeTag() == .Fn) {
- try wasm.parseAtom(atom_index, .{ .function = decl.fn_link.wasm });
+ try wasm.parseAtom(atom_index, .{ .function = decl.fn_link.? });
} else if (decl.getVariable()) |variable| {
if (!variable.is_mutable) {
try wasm.parseAtom(atom_index, .{ .data = .read_only });