From 06d751dbb3c9cc4e09f2eb7250a242dc6b2423bc Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 21 Dec 2021 18:43:19 -0700 Subject: link/wasm: fix regression of wrong assertion Fixes typo introduced in 2cbeb85a96af25f2718a604aa2bec4f76dd85018. --- src/link/Wasm.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/link/Wasm.zig b/src/link/Wasm.zig index 35a1ac672a..c317c000a1 100644 --- a/src/link/Wasm.zig +++ b/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"); } -- cgit v1.2.3