Skip to content

When exactly should --post-js code execute? #25346

@sbc100

Description

@sbc100

In some cases the --post-js code executes on load, right after the JS library code is loaded.

In other cases (specifically in the -sMODULARIZE case today) the code doesn't run until have instantiation and after the main function has run.

We should probably pick one behavior and stick with it.

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