diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2025-06-25 15:02:05 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2025-06-25 15:02:05 +0200 |
| commit | 077dba63ee6cd73ccd71af71dfca6e691b5feb89 (patch) | |
| tree | 792947582c8c646d1cdc8fb7852f8f0bdc5334b3 /build.bat | |
| parent | c5f8b85e9a3534329d48dfac87eb7cf709323d22 (diff) | |
Grow stack size on windows binaries. Support foreign import with when correctly.
Diffstat (limited to 'build.bat')
| -rw-r--r-- | build.bat | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,11 +2,11 @@ setlocal enabledelayedexpansion if "%1" == "test" ( - odin test tests -collection:src=src -debug -define:ODIN_TEST_THREADS=1 -define:ODIN_TEST_TRACK_MEMORY=false + odin test tests -collection:src=src -debug -define:ODIN_TEST_THREADS=1 -define:ODIN_TEST_TRACK_MEMORY=false -extra-linker-flags:"/STACK:4000000,2000000" ) else if "%1" == "single_test" ( - odin test tests -collection:src=src -define:ODIN_TEST_NAMES=%2 -define:ODIN_TEST_TRACK_MEMORY=false -debug + odin test tests -collection:src=src -define:ODIN_TEST_NAMES=%2 -define:ODIN_TEST_TRACK_MEMORY=false -debug -extra-linker-flags:"/STACK:4000000,2000000" ) else if "%1" == "debug" ( - odin build src\ -show-timings -microarch:native -collection:src=src -out:ols.exe -o:minimal -no-bounds-check -use-separate-modules -debug + odin build src\ -show-timings -microarch:native -collection:src=src -out:ols.exe -o:minimal -no-bounds-check -use-separate-modules -debug -extra-linker-flags:"/STACK:4000000,2000000" ) else ( - odin build src\ -show-timings -microarch:native -collection:src=src -out:ols.exe -o:speed -no-bounds-check -) + odin build src\ -show-timings -microarch:native -collection:src=src -out:ols.exe -o:speed -no-bounds-check -extra-linker-flags:"/STACK:4000000,2000000" +) |