Browse Source

+ WASI: set StackLength on startup

Nikolay Nikolov 1 year ago
parent
commit
60bb6c19d9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rtl/wasi/system.pp

+ 1 - 0
rtl/wasi/system.pp

@@ -430,6 +430,7 @@ begin
 end;
 
 begin
+  StackLength:=CheckInitialStkLen(stklen);
   { To be set if this is a GUI or console application }
   IsConsole := TRUE;
 {$ifdef FPC_HAS_FEATURE_DYNLIBS}