Commit 06d751dbb3

Andrew Kelley <andrew@ziglang.org>
2021-12-22 02:43:19
link/wasm: fix regression of wrong assertion
Fixes typo introduced in 2cbeb85a96af25f2718a604aa2bec4f76dd85018.
1 parent efab3b1
Changed files (1)
src
src/link/Wasm.zig
@@ -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");
         }