authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-12-21 18:43:19-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-12-21 18:43:19-07:00
log06d751dbb3c9cc4e09f2eb7250a242dc6b2423bc
treefbdf18801a91b22803556984bec8025b8202eb07
parentefab3b1e6dfe2fb1115de2202d3b034b82142815

link/wasm: fix regression of wrong assertion

Fixes typo introduced in 2cbeb85a96af25f2718a604aa2bec4f76dd85018.

1 files changed, 1 insertions(+), 1 deletions(-)

src/link/Wasm.zig+1-1
...@@ -1123,7 +1123,7 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation) !void {...@@ -1123,7 +1123,7 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation) !void {
1123 }1123 }
11241124
1125 if (self.base.options.import_table) {1125 if (self.base.options.import_table) {
1126 assert(self.base.options.export_table);1126 assert(!self.base.options.export_table);
1127 try argv.append("--import-table");1127 try argv.append("--import-table");
1128 }1128 }
11291129