Skip to content

wasm2js import/export minification currently disabled #9879

@kripken

Description

@kripken

We run minify_wasm_imports_and_exports before wasm2js, which means the legalization imports like getTempRet0 are now minified. When wasm2js runs, it may need those, and then it legalizes again.

For now this minification is disabled. Some options:

  • Always pass the non-minified getTempRet0 etc. in. This would be a hack, but allow minification.
  • Pass wasm2js the minified import names somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions