zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 06d751dbb3c9cc4e09f2eb7250a242dc6b2423bc (tree)
parent efab3b1e6dfe2fb1115de2202d3b034b82142815
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Tue, 21 Dec 2021 18:43:19 -0700

link/wasm: fix regression of wrong assertion

Fixes typo introduced in 2cbeb85a96af25f2718a604aa2bec4f76dd85018.

Diffstat:
Msrc/link/Wasm.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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"); }