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

wasm_engines: run start function in wabt #332

Merged
merged 2 commits into from
May 25, 2020
Merged

wasm_engines: run start function in wabt #332

merged 2 commits into from
May 25, 2020

Conversation

axic
Copy link
Member

@axic axic commented May 23, 2020

No description provided.

@axic axic requested review from chfast and gumb0 May 23, 2020 11:10
assert(m_module != nullptr);

// Run start function (this will return ok if no start function is present)
const wabt::interp::ExecResult r = m_executor.RunStartFunction(m_module);
Copy link
Member Author

@axic axic May 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some design reason in wabt this is not done automatically by instantiate.

@axic axic merged commit af983e1 into master May 25, 2020
@axic axic deleted the wabt-start-func branch May 25, 2020 11:53
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.

2 participants