2022-03-22 14:27:48 +01:00
|
|
|
# increase the default windows stack size
|
2020-09-24 05:55:33 +02:00
|
|
|
[target.x86_64-pc-windows-msvc]
|
2022-03-22 14:27:48 +01:00
|
|
|
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"]
|