Skip to content

Commit f86eeb4

Browse files
committed
Fix unresolved symbol in standalone debug build.
1 parent d8a6db2 commit f86eeb4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

system/lib/standalone/standalone.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
#include "lock.h"
2727
#include "emscripten_internal.h"
28+
#include "unwind.h"
2829

2930
/*
3031
* WASI support code. These are compiled with the program, and call out
@@ -308,3 +309,7 @@ weak void _emscripten_get_progname(char* buf, int length) {
308309
}
309310

310311
weak void _emscripten_runtime_keepalive_clear() {}
312+
313+
void __throw_exception_with_stack_trace(_Unwind_Exception* exception_object) {
314+
_Unwind_RaiseException(exception_object);
315+
}

0 commit comments

Comments
 (0)