Skip to content

Commit c756024

Browse files
committed
build(wasi): change __cxa_init_primary_exception shim return
For: │ wasm-ld: warning: function signature mismatch: __cxa_init_primary_exception │ >>> defined as (i32, i32, i32) -> i32 in lto.tmp │ >>> defined as (i32, i32, i32) -> void in libwasi-itk-extras.a(exceptionShimInitPrimaryException.cxx.o)
1 parent 7ec81a2 commit c756024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exceptionShimInitPrimaryException.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
extern "C" {
2626

2727
// Only triggered with Debug wasi-threads builds
28-
void __cxa_init_primary_exception(void *, void *, void *)
28+
int __cxa_init_primary_exception(void *, void *, void *)
2929
{
3030
}
3131

0 commit comments

Comments
 (0)