From 250809841ed4133ced82d78e3d46e2425f86694f Mon Sep 17 00:00:00 2001 From: InioX Date: Mon, 1 Jul 2024 10:09:46 +0200 Subject: [PATCH] feat: increase windows stack size to 8mb (fixes #87) --- .cargo/config.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..88571c8 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,11 @@ +# 64 bit MSVC +[target.x86_64-pc-windows-msvc] +rustflags = [ + "-C", "link-arg=/STACK:8000000" +] + +# 64 bit Mingw +[target.x86_64-pc-windows-gnu] +rustflags = [ + "-C", "link-arg=-Wl,--stack,8000000" +] \ No newline at end of file