Skip to content

Commit

Permalink
Fix windows stack size again
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone committed Oct 2, 2021
1 parent 9656025 commit 18b7315
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[target.'cfg(target_env = "msvc")']
rustflags = "-C link-args=-Wl,--stack,8000000"
rustflags = "-C link-arg=/STACK:8000000"

[target.'cfg(all(target_os = "windows", not(target_env = "msvc")))']
rustflags = "-C link-args=-Wl,-zstack-size=8000000"

rustflags = "-C link-args=-Wl,--stack,8000000"

0 comments on commit 18b7315

Please sign in to comment.