Skip to content

Commit 0e7c96e

Browse files
committed
emscripten enable exception catch
Signed-off-by: Samuel Hellawell <sshellawell@gmail.com>
1 parent 26818b8 commit 0e7c96e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ EMS =
3333

3434
# ("EMS" options gets added to both CPPFLAGS and LDFLAGS, whereas some options are for linker only)
3535
EMS += -s USE_SDL=2
36-
EMS += -s DISABLE_EXCEPTION_CATCHING=1
36+
# EMS += -s DISABLE_EXCEPTION_CATCHING=1
3737
LDFLAGS += -s WASM=1 -s ALLOW_MEMORY_GROWTH=1 -s NO_EXIT_RUNTIME=0 -s ASSERTIONS=1
3838

3939
# Emscripten allows preloading a file or folder to be accessible at runtime.

0 commit comments

Comments
 (0)