File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 36
36
if (EMSCRIPTEN)
37
37
target_link_libraries (${name} PRIVATE ${ARG_LIBRARIES} ${gtest_libs} clangCppInterOp)
38
38
set_target_properties (${name} PROPERTIES
39
- LINK_FLAGS "-s MAIN_MODULE=1 -s TOTAL_MEMORY=153088000 --embed-file ${CMAKE_BINARY_DIR} /lib@/lib/libclangCppInterOp.wasm --bind --preload-file ${LLVM_DIR} /../../../bin@/bin --bind"
39
+ LINK_FLAGS "-s MAIN_MODULE=1 -s TOTAL_MEMORY=140MB --embed-file ${CMAKE_BINARY_DIR} /lib@/lib/libclangCppInterOp.wasm --bind --preload-file ${LLVM_DIR} /../../../bin@/bin --bind"
40
40
)
41
41
target_link_options (${name} PRIVATE
42
42
PUBLIC "SHELL: -sERROR_ON_UNDEFINED_SYMBOLS=0"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ add_cppinterop_unittest(CppInterOpTests
16
16
17
17
if (EMSCRIPTEN)
18
18
set_target_properties (CppInterOpTests PROPERTIES
19
- LINK_FLAGS "-s MAIN_MODULE=1 -s TOTAL_MEMORY=153088000 --embed-file ${CMAKE_BINARY_DIR} /lib@/lib/libclangCppInterOp.wasm --bind --preload-file ${LLVM_DIR} /../../../bin@/bin --bind"
19
+ LINK_FLAGS "-s MAIN_MODULE=1 -s TOTAL_MEMORY=140MB --embed-file ${CMAKE_BINARY_DIR} /lib@/lib/libclangCppInterOp.wasm --bind --preload-file ${LLVM_DIR} /../../../bin@/bin --bind"
20
20
)
21
21
target_link_libraries (CppInterOpTests
22
22
PRIVATE
You can’t perform that action at this time.
0 commit comments