Skip to content

Commit

Permalink
Update wasm flags (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelParedes authored Oct 16, 2024
1 parent a8a4892 commit 545df2f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmake/WasmBuildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ function(xeus_wasm_compile_options target)
target_compile_options("${target}"
PUBLIC --std=c++17
PUBLIC -Wno-deprecated
PUBLIC "SHELL: -s USE_PTHREADS=0"
PUBLIC "SHELL: -fexceptions"
)
set_property(TARGET ${target} PROPERTY POSITION_INDEPENDENT_CODE ON)
Expand All @@ -33,9 +32,8 @@ function(xeus_wasm_link_options target environment)
PUBLIC "SHELL: -s ALLOW_MEMORY_GROWTH=1"
PUBLIC "SHELL: -s EXIT_RUNTIME=1"
PUBLIC "SHELL: -s WASM=1"
PUBLIC "SHELL: -s USE_PTHREADS=0"
PUBLIC "SHELL: -s ENVIRONMENT=${environment}"
PUBLIC "SHELL: -s TOTAL_STACK=32mb"
PUBLIC "SHELL: -s STACK_SIZE=32mb"
PUBLIC "SHELL: -s INITIAL_MEMORY=128mb"
PUBLIC "SHELL: -s WASM_BIGINT"
PUBLIC "SHELL: -s FORCE_FILESYSTEM"
Expand Down

0 comments on commit 545df2f

Please sign in to comment.