Skip to content

Commit c570180

Browse files
committed
Merge branch 'main' into table64
2 parents 4cde5a2 + bc8b17a commit c570180

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

crates/wasmtime/src/runtime/vm/helpers.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// When using _FORTIFY_SOURCE with `longjmp` causes longjmp_chk to be used
2+
// instead. longjmp_chk ensures that the jump target is on the existing stack.
3+
// For our use case of jumping between stacks we need to disable it.
4+
#undef _FORTIFY_SOURCE
5+
16
#include <setjmp.h>
27
#include <stdint.h>
38
#include <stdlib.h>

0 commit comments

Comments
 (0)