Skip to content

Commit

Permalink
fix(compiler): Set maximum wasm table size (#2061)
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake committed Mar 12, 2024
1 parent 2af70da commit e8d643c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/src/linking/link.re
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ let link_all = (linked_mod, dependencies, signature) => {
linked_mod,
Comp_utils.grain_global_function_table,
table_offset^,
-1,
table_offset^,
Type.funcref,
);

Expand Down
2 changes: 1 addition & 1 deletion compiler/test/suites/basic_functionality.re
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,6 @@ describe("basic functionality", ({test, testSkip}) => {
~config_fn=smallestFileConfig,
"smallest_grain_program",
"",
4768,
4769,
);
});

0 comments on commit e8d643c

Please sign in to comment.