mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 09:28:19 +02:00
+ WASI: set StackBottom on startup
This commit is contained in:
parent
60bb6c19d9
commit
68f4191119
@ -431,6 +431,7 @@ end;
|
||||
|
||||
begin
|
||||
StackLength:=CheckInitialStkLen(stklen);
|
||||
StackBottom:=Pointer(PtrUInt(InitialHeapBlockStart)-PtrUInt(StackLength));
|
||||
{ To be set if this is a GUI or console application }
|
||||
IsConsole := TRUE;
|
||||
{$ifdef FPC_HAS_FEATURE_DYNLIBS}
|
||||
|
Loading…
Reference in New Issue
Block a user