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 for newer versions of emscripten #586

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

BenTalagan
Copy link
Contributor

@BenTalagan BenTalagan commented Feb 15, 2019

This is a fix in order to compile the emscripten demo with recent versions of emscripten.

The default behaviour of emscripten is now to compile with WASM option, generating a different data file and forcing async loading. For now, I propose to just stay the closest as possible to what was done before and keep a sync loading by just using WASM=0.

File System function import in the module has also become an option in emscripten, and we absolutely need it, so the flag should be passed explicitly : FORCE_FILESYSTEM=1

The Runtime functions are now imported directly without scoping the Runtime module: updated accordingly.

That's all for the changes.

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