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

fix: wasm addFunction tests #332

Merged
merged 8 commits into from
Aug 28, 2020

Conversation

ianpurvis
Copy link
Collaborator

This fixes breakage in emsdk 2.0 and starts building and testing addFunction during CI.

@kripken
Copy link
Owner

kripken commented Aug 25, 2020

What does ADD_FUNCTION_SUPPORT do? If it just enables Table growth, we can probably enable that all the time, it has no significant downside.

@ianpurvis
Copy link
Collaborator Author

ADD_FUNCTION_SUPPORT adds these link flags for emcc:

    -s RESERVED_FUNCTION_POINTERS=20
    -s EXTRA_EXPORTED_RUNTIME_METHODS=["addFunction"])

I like the idea of enabling this by default, it seems popular... I can go ahead and tweak CMakeLists.txt

@ianpurvis
Copy link
Collaborator Author

All set... 👍👍

@ianpurvis ianpurvis closed this Aug 25, 2020
@ianpurvis ianpurvis reopened this Aug 25, 2020
@ianpurvis ianpurvis changed the base branch from chore/emsdk-2.0 to master August 25, 2020 21:02
@ianpurvis
Copy link
Collaborator Author

Sorry, things got messy when I merged #331... this should be good to go now.

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
@ianpurvis ianpurvis merged commit 4f3967d into kripken:master Aug 28, 2020
@ianpurvis ianpurvis deleted the fix/wasm-add-function-tests branch August 28, 2020 23:00
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

2 participants