File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 3434#include "py/persistentcode.h"
3535#include "py/runtime.h"
3636#include "py/gc.h"
37- #include "py/stackctrl.h"
3837#include "genhdr/mpversion.h"
3938#ifdef _WIN32
4039#include "ports/windows/fmode.h"
@@ -221,8 +220,6 @@ static char *backslash_to_forwardslash(char *path) {
221220}
222221
223222MP_NOINLINE int main_ (int argc , char * * argv ) {
224- mp_stack_set_limit (40000 * (sizeof (void * ) / 4 ));
225-
226223 pre_process_options (argc , argv );
227224
228225 char * heap = malloc (heap_size );
@@ -418,7 +415,7 @@ MP_NOINLINE int main_(int argc, char **argv) {
418415}
419416
420417int main (int argc , char * * argv ) {
421- mp_stack_ctrl_init ( );
418+ mp_cstack_init_with_sp_here ( 40000 * ( sizeof ( void * ) / 4 ) );
422419 return main_ (argc , argv );
423420}
424421
You can’t perform that action at this time.
0 commit comments