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

[wasm2js] Remove handling of external memory file (--memory-init-file) #21217

Merged
merged 1 commit into from
Feb 27, 2024

Commits on Feb 27, 2024

  1. [wasm2js] Remove all handling for external memory file

    We have a lot of support code and complexity in emscripten for handling
    of external memory files.  However, its only ever used in wasm2js mode
    which is a legacy mode.  The only reason we continue to support it here
    IIUC is because its slightly more space efficient than embedding the
    data as base64.
    
    For small programs like hello_world this is an over codesize win.  For
    larger programs there is a regression in overall size in proportion to
    the amount of static data in the program.
    sbc100 committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    4020c90 View commit details
    Browse the repository at this point in the history