mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
GH-130397: remove special-casing of C stack depth for WASI (#134469)
Removed special-casing for WASI when setting C stack depth limits. Since WASI has its own C stack checking this isn't a security risk. Also disabled some tests that stopped passing. They all happened to have already been disabled under Emscripten.
This commit is contained in:
parent
742d5b5c5d
commit
ad42dc1909
8 changed files with 15 additions and 7 deletions
|
@ -29,9 +29,6 @@ PyAPI_DATA(int) (*PyOS_InputHook)(void);
|
|||
# define PYOS_LOG2_STACK_MARGIN 12
|
||||
#elif defined(Py_DEBUG) && defined(WIN32)
|
||||
# define PYOS_LOG2_STACK_MARGIN 12
|
||||
#elif defined(__wasi__)
|
||||
/* Web assembly has two stacks, so this isn't really a size */
|
||||
# define PYOS_LOG2_STACK_MARGIN 9
|
||||
#else
|
||||
# define PYOS_LOG2_STACK_MARGIN 11
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue