Skip to content

Commit bd5dc33

Browse files
authored
[wasm][coreclr] Allow memory growth for corerun (#120844)
Also remove table growth option from browserhost, we don't need it as we don't have jiterpreter
1 parent c8ca492 commit bd5dc33

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/coreclr/hosts/corerun/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ else()
7676
-fwasm-exceptions
7777
-sEXIT_RUNTIME=1
7878
-sINITIAL_MEMORY=134217728
79+
-sMAXIMUM_MEMORY=2147483648
80+
-sALLOW_MEMORY_GROWTH=1
7981
-sSTACK_SIZE=5MB
8082
-sENVIRONMENT=node,shell,web
8183
-Wl,-error-limit=0)

src/native/corehost/browserhost/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ target_link_options(browserhost PRIVATE
107107
-sINITIAL_MEMORY=134217728
108108
-sMAXIMUM_MEMORY=2147483648
109109
-sALLOW_MEMORY_GROWTH=1
110-
-sALLOW_TABLE_GROWTH=1
111110
-sSTACK_SIZE=5MB
112111
-sMODULARIZE=1
113112
-sEXPORT_ES6=1

0 commit comments

Comments
 (0)