Browse Source

* stack alignment on the WASI platform is 16 bytes

Nikolay Nikolov 3 years ago
parent
commit
7cef39657f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/systems/i_wasi.pas

+ 1 - 1
compiler/systems/i_wasi.pas

@@ -106,7 +106,7 @@ unit i_wasi;
               );
             first_parm_offset : 0;
             stacksize   : 65536;
-            stackalign   : 4;
+            stackalign   : 16;
             abi          : abi_default;
             llvmdatalayout : 'todo';
           );