Skip to content

MAIN_MODULE without EXPORT_ALL does not export js library functions #9793

Closed
@kripken

Description

@kripken

See for example the testcase added in #9698 - we need EXPORT_ALL there so that the side module can call cxa_throw, which is a JS library function.

It shouldn't be an observable difference if a function is from the JS library or not, so it should be exported like the compiled library code is, probably. I'm not sure of the ramifications of flipping EXPORT_ALL to 1 when MAIN_MODULE, though, so maybe we need something more specific?

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