fix(windows): increase stack size to resolve runtime overflow
Windows platforms have a default stack size (1-2MB) that is too small for the heavy JsonSchema derives in config/schema.rs (133 derives). This causes "thread 'main' has overflowed its stack" on startup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
949de1b935
commit
c8dbcd0dae
@ -10,3 +10,10 @@ linker = "armv7a-linux-androideabi21-clang"
|
||||
|
||||
[target.aarch64-linux-android]
|
||||
linker = "aarch64-linux-android21-clang"
|
||||
|
||||
# Windows targets — increase stack size for large JsonSchema derives
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
rustflags = ["-C", "link-args=/STACK:8388608"]
|
||||
|
||||
[target.aarch64-pc-windows-msvc]
|
||||
rustflags = ["-C", "link-args=/STACK:8388608"]
|
||||
Loading…
Reference in New Issue
Block a user