File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -441,6 +441,8 @@ 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" 
445+         PUBLIC  "SHELL: --no-entry" 
444446    )
445447    # TODO: Uncomment the above line regarding preloading clang's resource dir 
446448    # 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