Skip to content

More MINIMAL_RUNTIME#9974

Merged
juj merged 4 commits intoemscripten-core:incomingfrom
juj:more_minimal_runtime
Dec 11, 2019
Merged

More MINIMAL_RUNTIME#9974
juj merged 4 commits intoemscripten-core:incomingfrom
juj:more_minimal_runtime

Conversation

@juj
Copy link
Collaborator

@juj juj commented Dec 6, 2019

Complete migration of stack overflow checks to library function in MINIMAL_RUNTIME, and add support for --separate-asm, MODULARIZE and ALLOW_MEMORY_GROWTH with MINIMAL_RUNTIME.

@juj juj force-pushed the more_minimal_runtime branch 4 times, most recently from d10469f to d25ad8a Compare December 7, 2019 15:50
@juj
Copy link
Collaborator Author

juj commented Dec 8, 2019

Updated this to rely on html-minifier-terser, in PR #9990, which should land first.

juj added 3 commits December 11, 2019 13:23
…NIMAL_RUNTIME, and add support for --separate-asm, MODULARIZE and ALLOW_MEMORY_GROWTH with MINIMAL_RUNTIME.
…ate to a better minifier, but needs one installed alongside the repository)
@juj juj force-pushed the more_minimal_runtime branch from e6789bc to c87dd85 Compare December 11, 2019 11:24
@juj juj force-pushed the more_minimal_runtime branch from c87dd85 to 9f877d8 Compare December 11, 2019 17:03
@juj
Copy link
Collaborator Author

juj commented Dec 11, 2019

This will temporarily regress minimal runtime code size until PR #9990 lands with a fix in html-minifier-terser. But landing already now since I need to get going with the followup to this PR.

@juj juj merged commit 6c5d5a4 into emscripten-core:incoming Dec 11, 2019
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
* Complete migration of stack overflow checks to library function in MINIMAL_RUNTIME, and add support for --separate-asm, MODULARIZE and ALLOW_MEMORY_GROWTH with MINIMAL_RUNTIME.

* Use acorn-optimizer to minify <script> tags in .html code (TODO: Migrate to a better minifier, but needs one installed alongside the repository)

* Remove manual JS code minification in HTML5, to use html-minifier-terser in PR emscripten-core#9990.

* Update minimal_runtime test
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