Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add suport section ID 12 and its respective test #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant