Skip to content

Export emscripten_notify_memory_growth(). #288

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

Merged

Conversation

chaoqin-li1123
Copy link
Contributor

Signed-off-by: chaoqin-li1123 chaoqinli@google.com

Signed-off-by: chaoqin-li1123 <chaoqinli@google.com>
chaoqin-li1123 added 2 commits May 31, 2022 14:46
Signed-off-by: chaoqin-li1123 <chaoqinli@google.com>
Signed-off-by: chaoqin-li1123 <chaoqinli@google.com>
Copy link
Member

@PiotrSikora PiotrSikora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a test (or at least verify manually that this allows the module requiring momory growth to load)?

Signed-off-by: chaoqin-li1123 <chaoqinli@google.com>
@chaoqin-li1123
Copy link
Contributor Author

chaoqin-li1123 commented Jun 7, 2022

Could you add a test (or at least verify manually that this allows the module requiring momory growth to load)?

But IIUC, the wasm binary in this repo doesn't build with emscripten.

Signed-off-by: chaoqin-li1123 <chaoqinli@google.com>
@chaoqin-li1123
Copy link
Contributor Author

I have verified this manually, the input index should be 32bit.

Copy link
Member

@PiotrSikora PiotrSikora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@PiotrSikora PiotrSikora changed the title export emscripten_notify_memory_growth() function Export emscripten_notify_memory_growth(). Jun 14, 2022
@PiotrSikora PiotrSikora merged commit 73fe589 into proxy-wasm:master Jun 15, 2022
knm3000 pushed a commit to knm3000/proxy-wasm-cpp-host that referenced this pull request Aug 17, 2022
Signed-off-by: chaoqin-li1123 <chaoqinli@google.com>
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.

2 participants