link/wasm: fix regression of wrong assertion

Fixes typo introduced in 2cbeb85a96af25f2718a604aa2bec4f76dd85018.
This commit is contained in:
Andrew Kelley 2021-12-21 18:43:19 -07:00
parent efab3b1e6d
commit 06d751dbb3

View File

@ -1123,7 +1123,7 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation) !void {
}
if (self.base.options.import_table) {
assert(self.base.options.export_table);
assert(!self.base.options.export_table);
try argv.append("--import-table");
}