-
Notifications
You must be signed in to change notification settings - Fork 825
[emscripten] Don't use -sSINGLE_FILE by default
#7985
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
Conversation
3431971 to
4913727
Compare
|
I kind of think it's nice for library providers to give you a single file: just |
|
Thats why we provide the |
|
The flag is good for people building manually, but will this change not affect our own builds? Do we need to flip it in ci to avoid changing what we ship? |
|
Yes if we are shipping a distribut-able version of binaryen.js then yes, perhaps we want to consider using that flag there. I'll take a look |
|
It looks like we are shipping binaryen-version_124-node.tar.gz.. for the node case I think having a separate file makes sense since there are not hosting issues to worry about. I don't see a distributed versions of binaryen.js for the web that we (binaryen) maintains or ship. I think that is all done externally, right? |
e.g in https://github.com/AssemblyScript/binaryen.js/? They may choose or use or not use this setting independently of our default. |
|
Yes, I guess that's easily changed there. Worth giving them a heads up I think, but otherwise lgtm |
Its good to have an option for this by I don't see why it should be the default.
|
Head up filed: AssemblyScript/binaryen.js#107 |
Its good to have an option for this by I don't see why it should be the default.