Skip to content

Commit e8d643c

Browse files
authored
fix(compiler): Set maximum wasm table size (#2061)
1 parent 2af70da commit e8d643c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/linking/link.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ let link_all = (linked_mod, dependencies, signature) => {
692692
linked_mod,
693693
Comp_utils.grain_global_function_table,
694694
table_offset^,
695-
-1,
695+
table_offset^,
696696
Type.funcref,
697697
);
698698

compiler/test/suites/basic_functionality.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,6 @@ describe("basic functionality", ({test, testSkip}) => {
377377
~config_fn=smallestFileConfig,
378378
"smallest_grain_program",
379379
"",
380-
4768,
380+
4769,
381381
);
382382
});

0 commit comments

Comments
 (0)