Skip to content

Add shared to wasm_limits_t #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xdoardo
Copy link

@xdoardo xdoardo commented Mar 14, 2025

Hi!

This small PR adds a shared field to the wasm_limits_t type. This change, seems to be the only top-level left change needed to support the threading proposal. I also opened a CL with the same objective to V8, using the patched wasm.h and wasm.hh headers from this PR.

This PR also fixes the tests to adapt the current semantics to the change (i.e. adding false when instantiating a wasm_limits_t in C).
The PR currently does not test the behaviour of the API with respect to the threading proposal. To this end, I wait for your feedback on which specific tests would be better to implement, if any.

Verified

This commit was signed with the committer’s verified signature.
xdoardo edoardo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant