Skip to content

Commit

Permalink
[test][js-api] Fix import of table64 and memory64
Browse files Browse the repository at this point in the history
Provide imports for 'table64' and 'memory64'. This fixes a js-api test
failures.
  • Loading branch information
backes committed Oct 4, 2024
1 parent fe878f3 commit 743555d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interpreter/script/js.ml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ let spectest = {
global_f64: 666.6,
table: new WebAssembly.Table({initial: 10, maximum: 20, element: 'anyfunc'}),
table64: new WebAssembly.Table(
{initial: 10, maximum: 20, element: 'anyfunc', index: 'i64'}),
memory: new WebAssembly.Memory({initial: 1, maximum: 2})
memory64: new WebAssembly.Memory({initial: 1, maximum: 2, index: 'i64'})
{initial: 10n, maximum: 20n, element: 'anyfunc', index: 'i64'}),
memory: new WebAssembly.Memory({initial: 1, maximum: 2}),
memory64: new WebAssembly.Memory({initial: 1n, maximum: 2n, index: 'i64'})
};

let handler = {
Expand Down

0 comments on commit 743555d

Please sign in to comment.