Skip to content

Commit

Permalink
Halve size of WASI stack, again
Browse files Browse the repository at this point in the history
  • Loading branch information
markshannon committed Feb 13, 2025
1 parent c1eb229 commit 7407d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ _Py_EnterRecursiveCallUnchecked(PyThreadState *tstate)
# define Py_C_STACK_SIZE 1600000
#elif defined(__wasi__)
/* Web assembly has two stacks, so this isn't really the stack depth */
# define Py_C_STACK_SIZE 100000
# define Py_C_STACK_SIZE 50000
#elif defined(__hppa__) || defined(__powerpc64__)
// test_descr crashed with >8000 but let's keep a margin of error.
# define Py_C_STACK_SIZE 2000000
Expand Down

0 comments on commit 7407d2b

Please sign in to comment.