Skip to content

Commit abc2674

Browse files
committed
build(wasi): add __cxa_init_primary_exception shim
1 parent 1f6a978 commit abc2674

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/exceptionShim.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ void __cxa_throw(void *, void *, void *)
3333
abort();
3434
}
3535

36+
// Only triggered with Debug wasi-threads builds
37+
void __cxa_init_primary_exception(void *, void *, void *)
38+
{
39+
}
40+
3641
}
3742

3843
#endif // __cplusplus

0 commit comments

Comments
 (0)