Browse Source

* set the stack size to 64kb and stack align to 16 bytes for the wasm32-embedded target

Nikolay Nikolov 3 years ago
parent
commit
8aee781950
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/systems/i_embed.pas

+ 2 - 2
compiler/systems/i_embed.pas

@@ -916,8 +916,8 @@ unit i_embed;
                 maxCrecordalign : 4
               );
             first_parm_offset : 0;
-            stacksize   : 262144;
-            stackalign   : 4;
+            stacksize   : 65536;
+            stackalign   : 16;
             abi          : abi_default;
             llvmdatalayout : 'todo';
           );