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

Update and document Emscripten link-time options #174

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 11, 2024

  1. Update and document Emscripten link-time options

    Set INITIAL_HEAP=1MB and ALLOW_MEMORY_GROWTH=1 to reduce starting memory usage
    of plugins, but allow the heap to grow. Explicitly set STACK_SIZE (previously
    named TOTAL_STACK) to 1MiB. This is a middle ground between Emscripten's
    default value prior to 3.1.27 of 5MiB and its default value since then of
    64KiB.
    
    Also add comments documenting the purpose of each link-time option.
    
    Signed-off-by: Michael Warres <[email protected]>
    mpwarres committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    20545e5 View commit details
    Browse the repository at this point in the history