From 352cf31db256e2bd7fe1ab51225b0a02f23a3560 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Tue, 22 Mar 2022 08:27:48 -0500 Subject: [PATCH] update comments, add other targets (#4891) keep these other targets in case we need them in the future --- .cargo/config.toml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 824b92b122..45d9e00516 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,13 @@ -# use LLD as linker on Windows because it could be faster -# for full and incremental builds compared to default - +# increase the default windows stack size [target.x86_64-pc-windows-msvc] -#linker = "lld-link.exe" -rustflags = ["-C", "link-args=-stack:10000000"] \ No newline at end of file +rustflags = ["-C", "link-args=-stack:10000000"] + +# keeping this but commentting out in case we need them in the future + +# set a 2 gb stack size (0x80000000 = 2147483648 bytes = 2 GB) +# [target.x86_64-unknown-linux-gnu] +# rustflags = ["-C", "link-args=-Wl,-z stack-size=0x80000000"] + +# set a 2 gb stack size (0x80000000 = 2147483648 bytes = 2 GB) +# [target.x86_64-apple-darwin] +# rustflags = ["-C", "link-args=-Wl,-stack_size,0x80000000"]