We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdde91e commit 60e2d20Copy full SHA for 60e2d20
Python/ceval.c
@@ -465,7 +465,7 @@ tstate_set_stack(PyThreadState *tstate,
465
assert(ts->c_stack_soft_limit < ts->c_stack_top);
466
467
// Test the stack pointer
468
-#ifndef NDEBUG
+#if !defined(NDEBUG) && !defined(__wasi__)
469
uintptr_t here_addr = _Py_get_machine_stack_pointer();
470
assert(ts->c_stack_soft_limit < here_addr);
471
assert(here_addr < ts->c_stack_top);
0 commit comments