Skip to content

Add suport section ID 12 and its respective test#43

Open
felipemarts wants to merge 1 commit intoewasm:masterfrom
felipemarts:section_id_12
Open

Add suport section ID 12 and its respective test#43
felipemarts wants to merge 1 commit intoewasm:masterfrom
felipemarts:section_id_12

Conversation

@felipemarts
Copy link

I tested the following code compiled using assemblyScript

export function add(a: i32, b: i32): i32 {
  console.log("test add");
  return a + b;
}

the generated wasm file has section id 12 - "data count" which is not yet supported by wasm-json-toolkit.
I took the liberty of adding testing and code to support the same.

Thank you in advance Felipe Martins de Lima.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant