File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -441,6 +441,7 @@ if(EMSCRIPTEN)
441441 PUBLIC "SHELL: --preload-file ${XEUS_CPP_DATA_DIR} @/share/xeus-cpp"
442442 PUBLIC "SHELL: --preload-file ${XEUS_CPP_CONF_DIR} @/etc/xeus-cpp"
443443 PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR} /wasm_patches/post.js"
444+ PUBLIC "SHELL: -s STRICT=1"
444445 )
445446 # TODO: Uncomment the above line regarding preloading clang's resource dir
446447 # once has been supported through cppinterop.
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ if(EMSCRIPTEN)
6969 PUBLIC "SHELL: --preload-file ${SYSROOT_PATH} /include@/include"
7070 PUBLIC "SHELL: --preload-file ../${XEUS_CPP_DATA_DIR} @/share/xeus-cpp"
7171 PUBLIC "SHELL: --preload-file ../${XEUS_CPP_CONF_DIR} @/etc/xeus-cpp"
72+ PUBLIC "SHELL: -s STRICT=1"
7273 )
7374
7475 target_include_directories (test_xeus_cpp PRIVATE ${XEUS_CPP_INCLUDE_DIR} )
You can’t perform that action at this time.
0 commit comments