Skip to content

Commit

Permalink
GH-130396: Include stack margin for debug windows builds (GH-130554)
Browse files Browse the repository at this point in the history
  • Loading branch information
markshannon authored Feb 25, 2025
1 parent f963239 commit 2dad1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/pythonrun.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PyAPI_DATA(int) (*PyOS_InputHook)(void);
#if defined(_Py_ADDRESS_SANITIZER) || defined(_Py_THREAD_SANITIZER)
# define PYOS_STACK_MARGIN 4096
#elif defined(Py_DEBUG) && defined(WIN32)
# define PYOS_STACK_MARGIN 3072
# define PYOS_STACK_MARGIN 4096
#elif defined(__wasi__)
/* Web assembly has two stacks, so this isn't really a size */
# define PYOS_STACK_MARGIN 500
Expand Down

0 comments on commit 2dad1e0

Please sign in to comment.