File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2222 uses : actions/checkout@v2
2323
2424 - name : C++ configure
25- run : emcmake cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS='-Os -flto' -DCMAKE_CXX_FLAGS='-Os -fno-exceptions - flto'
25+ run : emcmake cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS='-Os -flto' -DCMAKE_CXX_FLAGS='-Os -flto'
2626 - name : C++ build
2727 run : emmake cmake --build build --target quick-lint-js-vscode quick-lint-js-vscode-licenses
2828 - name : C++ install
Original file line number Diff line number Diff line change @@ -64,8 +64,10 @@ endfunction ()
6464
6565function (quick_lint_js_configure_exception_handling)
6666 if (MSVC )
67- add_compile_options (/EHcs)
67+ add_compile_options (/EHc-s-)
68+ add_definitions (-D_HAS_EXCEPTIONS=0)
6869 endif ()
70+ quick_lint_js_add_cxx_flag_if_supported(-fno-exceptions QUICK_LINT_JS_HAVE_FNO_EXCEPTIONS)
6971endfunction ()
7072
7173# RTTI stands for Run-Time Type Information.
You can’t perform that action at this time.
0 commit comments