We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4cde5a2 + bc8b17a commit c570180Copy full SHA for c570180
1 file changed
crates/wasmtime/src/runtime/vm/helpers.c
@@ -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
+
6
#include <setjmp.h>
7
#include <stdint.h>
8
#include <stdlib.h>
0 commit comments