reset stack size to 10mb vs 2gb (#7103)

This commit is contained in:
Darren Schroeder 2022-11-11 15:22:26 -06:00 committed by GitHub
parent c1105e945e
commit ef32e1ce1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]
# rustflags = ["-C", "link-arg=-fuse-ld=mold"]