aboutsummaryrefslogtreecommitdiff
path: root/ci.bat
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2025-06-25 15:02:05 +0200
committerDanielGavin <danielgavin5@hotmail.com>2025-06-25 15:02:05 +0200
commit077dba63ee6cd73ccd71af71dfca6e691b5feb89 (patch)
tree792947582c8c646d1cdc8fb7852f8f0bdc5334b3 /ci.bat
parentc5f8b85e9a3534329d48dfac87eb7cf709323d22 (diff)
Grow stack size on windows binaries. Support foreign import with when correctly.
Diffstat (limited to 'ci.bat')
-rw-r--r--ci.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci.bat b/ci.bat
index c8b3830..3ad6812 100644
--- a/ci.bat
+++ b/ci.bat
@@ -7,10 +7,10 @@ if "%1" == "CI" (
rem odin test tests -collection:src=src -define:ODIN_TEST_THREADS=1
rem if %errorlevel% neq 0 exit /b 1
- odin build src\ -collection:src=src -out:ols.exe -o:speed
+ odin build src\ -collection:src=src -out:ols.exe -o:speed -extra-linker-flags:"/STACK:4000000,2000000"
call "tools/odinfmt/tests.bat"
if %errorlevel% neq 0 exit /b 1
) else (
- odin build src\ -collection:src=src -out:ols.exe -o:speed -no-bounds-check
+ odin build src\ -collection:src=src -out:ols.exe -o:speed -no-bounds-check -extra-linker-flags:"/STACK:4000000,2000000"
) \ No newline at end of file