Skip to content

[wasm][coreclr] Allow memory growth for corerun - #120844

Merged
radekdoulik merged 2 commits into
dotnet:mainfrom
radekdoulik:clr-interp-wasm-emscripten-options-update
Oct 17, 2025
Merged

radekdoulik merged 2 commits into
dotnet:mainfrom
radekdoulik:clr-interp-wasm-emscripten-options-update

Conversation

@radekdoulik

Copy link
Copy Markdown
Member

Also remove table growth option from browserhost, we don't need it as we don't have jiterpreter

Also remove table growth option from browserhost, we don't need it as
we don't have jiterpreter

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enables WebAssembly memory growth in the corerun host and removes table growth from the browserhost configuration as it is no longer needed without jiterpreter.

  • Added -sALLOW_MEMORY_GROWTH=1 to corerun build.
  • Removed -sALLOW_TABLE_GROWTH=1 from browserhost link options.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/native/corehost/browserhost/CMakeLists.txt Removes table growth flag to simplify browserhost configuration.
src/coreclr/hosts/corerun/CMakeLists.txt Adds memory growth flag to allow dynamic heap expansion for corerun.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Host

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants