From 8c06dccd9200d88c567c276943f5419d23b571ac Mon Sep 17 00:00:00 2001 From: Adam Powers Date: Tue, 17 Nov 2020 21:06:58 -0800 Subject: [PATCH] allow repeated running --- sys/unix/hints/include/cross-pre.2020 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/unix/hints/include/cross-pre.2020 b/sys/unix/hints/include/cross-pre.2020 index 562a1934d..126572dda 100644 --- a/sys/unix/hints/include/cross-pre.2020 +++ b/sys/unix/hints/include/cross-pre.2020 @@ -334,7 +334,7 @@ EMCC_DEBUG_CFLAGS += -s SAFE_HEAP=1 EMCC_DEBUG_CFLAGS += -s LLD_REPORT_UNDEFINED=1 EMCC_DEBUG_CFLAGS += -s EXCEPTION_DEBUG=1 #EMCC_DEBUG_CFLAGS += -fsanitize=undefined -fsanitize=address -fsanitize=leak -EMCC_DEBUG_CFLAGS += -s EXIT_RUNTIME=1 +EMCC_DEBUG_CFLAGS += -s NO_EXIT_RUNTIME # XXX: if --profiling isn't included then any error dumps 10MB of WASM to the screen rather than a useful message EMCC_DEBUG_CFLAGS += --profiling EMCC_PROD_CFLAGS += -O3