diff --git a/.cargo/config.toml b/.cargo/config.toml index 36491a117..a590c044d 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"