From 18b7315c9ad898dcbb83f067b993ec0b244998fd Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Sat, 2 Oct 2021 14:09:31 +0900 Subject: [PATCH] Fix windows stack size again --- .cargo/config.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 36491a1174..a590c044d8 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -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"