Skip to content
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

[wasm-js-api-2] js-api Memory.grow requirement cannot be fulfilled via the core specification #1635

Open
alimpfard opened this issue Mar 28, 2023 · 0 comments

Comments

@alimpfard
Copy link

A requirement appearing after Memory.grow(delta) asks the host to execute code after an instruction completes:

Immediately after a WebAssembly memory.grow instruction executes, perform the following steps:
[...]

There are no notes about this in the core spec, and a correct implementation of the core spec lacks APIs for this sort of hook.
While a hook can be placed in the memory store's grow implementation, this requirement cannot be fulfilled as-is.

For reference, memory.grow does not provide any such hooks.

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

No branches or pull requests

1 participant