From 4b41ffbd8ad41d709c9b843afc51833f780e2e90 Mon Sep 17 00:00:00 2001 From: Wyatt Verchere Date: Thu, 6 Apr 2023 18:08:54 -0700 Subject: [PATCH] Windows compile opts (#72) * added config toml file for compilation * added comment --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 000000000..ca80597fc --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,3 @@ +# Windows has stack overflows when calling from Tauri, so we increase compiler size +[target.'cfg(windows)'] +rustflags = ["-C", "link-args=/STACK:4194304"] \ No newline at end of file