Skip to content

Fix emitting ASMJS #1649

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

Merged
merged 1 commit into from
Jan 31, 2021
Merged

Fix emitting ASMJS #1649

merged 1 commit into from
Jan 31, 2021

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jan 31, 2021

As discovered in AssemblyScript/examples#11, asc now always wraps the module in a Binaryen.js module instance, so the correct method to call here is emitAsmjs, not toAsmjs.

  • I've read the contributing guidelines

@dcodeIO dcodeIO merged commit 99e77a7 into master Jan 31, 2021
@dcodeIO dcodeIO deleted the fix-asmjs branch June 1, 2021 15:20
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