update comments, add other targets (#4891)

keep these other targets in case we need them in the future
This commit is contained in:
Darren Schroeder 2022-03-22 08:27:48 -05:00 committed by GitHub
parent 66e736dab4
commit 352cf31db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]
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"]