emscripten-core / emscripten-core/emscripten

Emscripten ABI compatibility checks for side modules?

Open
#15,917 19 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.