Skip to content

Emscripten ABI compatibility checks for side modules? #15917

Open
@hoodmane

Description

@hoodmane

There has been discussion with the CPython folks about trying to add wasm32-emscripten wheels to PyPI. For this, we would like to have some way to decide which wheels are compatible with which main modules. Looking around, I see there used to be EMSCRIPTEN_ABI_MAJOR and EMSCRIPTEN_ABI_MINOR but they were removed.

Suppose we compile a main module and a side module at separate times using possibly different versions of Emscripten. Is there any way to check whether they are compatible? Could such a feature be added? What will happen at load time if they are not compatible?

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