From 0495a5d067edee7adc3a64c0fa286fa2af240c50 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Wed, 12 Aug 2026 11:15:41 +0200 Subject: [PATCH] feat: changed windows stack memory from 1MB to 8MB (same as Linux and MacOS) (#717) Co-authored-by: rozwader --- .cargo/config.toml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..eb8e347c --- /dev/null +++ b/.cargo/config.toml @@ -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"]