File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -265,13 +265,21 @@ endif ()
265265include (WasmBuildOptions)
266266
267267add_executable (xjavascript src/main_emscripten_kernel.cpp )
268- target_compile_options (xjavascript PRIVATE -fPIC)
268+ target_compile_options (xjavascript
269+ PRIVATE -fPIC
270+ PUBLIC "SHELL -sWASM_BIGINT"
271+ PUBLIC "SHELL -sALLOW_MEMORY_GROWTH=1"
272+
273+ )
269274XEUS_JAVASCRIPT_set_kernel_options(xjavascript)
270275xeus_wasm_compile_options(xjavascript)
271276xeus_wasm_link_options(xjavascript "web,worker" )
272277
273278#
274279target_link_options (xjavascript
280+ PUBLIC "SHELL -sWASM_BIGINT"
281+ PUBLIC "SHELL -sALLOW_MEMORY_GROWTH=1"
282+
275283 PUBLIC "SHELL: -sMAIN_MODULE=1"
276284 PUBLIC "SHELL: -s NO_EXIT_RUNTIME=1"
277285 PUBLIC "SHELL: -s FORCE_FILESYSTEM=1"
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ channels:
44 - https://repo.mamba.pm/conda-forge
55dependencies :
66 - nlohmann_json
7- - xeus-lite
8- - xeus
7+ - xeus-lite >= 4.0.0
8+ - xeus >= 2.4.0
You can’t perform that action at this time.
0 commit comments