feat: changed windows stack memory from 1MB to 8MB (same as Linux and MacOS) (#717)

Co-authored-by: rozwader <maciek.rozwadowski2006@gmail.com>
This commit is contained in:
LynithDev 2026-08-12 11:15:41 +02:00 • committed by GitHub
parent 09ff4d1c4d
commit 0495a5d067
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

7
.cargo/config.toml Normal file
View file

@ -0,0 +1,7 @@
# Linux and Macos by default have 8MB of stack storage.
# Windows has 1MB, it isn't enough, so it's changed to 8MB also.
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "link-arg=/STACK:8388608"]
[target.aarch64-pc-windows-msvc]
rustflags = ["-C", "link-arg=/STACK:8388608"]