windows: Set the default stack size to 8M on Windows. (#228)

This commit is contained in:
Sunli 2024-09-09 13:51:10 +08:00 committed by GitHub
parent 16396d3583
commit ac83fad692
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

2
.cargo/config.toml Normal file
View file

@ -0,0 +1,2 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "link-arg=/STACK:8000000"]

View file

@ -1,4 +1,4 @@
use std::sync::Arc;
use std::{sync::Arc, thread};
use anyhow::Result;
use app_state::AppState;