added .cargo/config.toml to build with bigger stack on windows (#2594)

* added .cargo/config.toml to build with bigger stack on windows

* updated comments
This commit is contained in:
Darren Schroeder 2020-09-23 22:55:33 -05:00 committed by GitHub
parent e8ec5027ff
commit 75f8247af1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
.cargo/config.toml Normal file
View File

@ -0,0 +1,6 @@
# use LLD as linker on Windows because it could be faster
# for full and incremental builds compared to default
[target.x86_64-pc-windows-msvc]
#linker = "lld-link.exe"
rustflags = ["-C", "link-args=-stack:10000000"]