Progress on exception catching

This commit is contained in:
Joshua Granick
2023-05-20 10:07:45 -07:00
parent 3596f83a41
commit 7e8337e4c9

View File

@@ -191,13 +191,13 @@ class EmscriptenPlatform extends PlatformTarget
if (project.targetFlags.exists("final"))
{
args.push("-s");
args.push("DISABLE_EXCEPTION_CATCHING=0");
args.push("DISABLE_EXCEPTION_CATCHING=1");
args.push("-O3");
}
else if (!project.debug)
{
args.push("-s");
args.push("DISABLE_EXCEPTION_CATCHING=0");
args.push("DISABLE_EXCEPTION_CATCHING=1");
// args.push ("-s");
// args.push ("OUTLINING_LIMIT=70000");
args.push("-O2");
@@ -205,7 +205,9 @@ class EmscriptenPlatform extends PlatformTarget
else
{
args.push("-s");
args.push("DISABLE_EXCEPTION_CATCHING=2");
args.push("DISABLE_EXCEPTION_CATCHING=0");
args.push("-s");
args.push("NO_DISABLE_EXCEPTION_CATCHING=1");
args.push("-s");
args.push("ASSERTIONS=1");
args.push("-O1");