From c6f1a1ce696dbc85bc45d3f7b6bed6821304e282 Mon Sep 17 00:00:00 2001 From: Yulong Wang <7679871+fs-eire@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:38:35 -0700 Subject: [PATCH] update build_jsep.bat to add release build flags (#17471) ### Description flags `--enable_wasm_api_exception_catching --disable_rtti` are used in release build, so fix the build_jsep.bat script to make it more consistent with CI. --- js/build_jsep.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/build_jsep.bat b/js/build_jsep.bat index 02f1170ecb..acd40ff920 100644 --- a/js/build_jsep.bat +++ b/js/build_jsep.bat @@ -22,7 +22,7 @@ if ["%~1"]==["d"] ( ) if ["%~1"]==["r"] ( set CONFIG=Release - set CONFIG_EXTRA_FLAG= + set CONFIG_EXTRA_FLAG=--enable_wasm_api_exception_catching --disable_rtti goto :arg2 ) echo Invalid configuration "%~1", must be "d"(Debug) or "r"(Release)