From ef32e1ce1ac68eb99cdbaef49e381d2e9b179f2e Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Fri, 11 Nov 2022 15:22:26 -0600 Subject: [PATCH] reset stack size to 10mb vs 2gb (#7103) --- .cargo/config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 808cf30806..066830b464 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,7 +1,7 @@ [target.x86_64-pc-windows-msvc] # increase the default windows stack size # statically link the CRT so users don't have to install it -rustflags = ["-C", "link-args=-stack:2147483648", "-C", "target-feature=+crt-static"] +rustflags = ["-C", "link-args=-stack:10000000", "-C", "target-feature=+crt-static"] # keeping this but commentting out in case we need them in the future @@ -25,4 +25,4 @@ rustflags = ["-C", "link-args=-stack:2147483648", "-C", "target-feature=+crt-sta # [target.aarch64-apple-darwin] # linker = "clang" -# rustflags = ["-C", "link-arg=-fuse-ld=mold"] \ No newline at end of file +# rustflags = ["-C", "link-arg=-fuse-ld=mold"]