From 8485ba67a9950185465a86131acbd8dabc20a945 Mon Sep 17 00:00:00 2001 From: Pauline Date: Mon, 23 Oct 2023 00:14:40 -0400 Subject: build(opt): patch mem limit for cargo this is because tauri uses memory and sometimes (rarely) goes over the limit, espically in dev environments, really this is just a safeguard --- .cargo/config.toml.mustache | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml.mustache b/.cargo/config.toml.mustache index 8456e90..2ae0933 100644 --- a/.cargo/config.toml.mustache +++ b/.cargo/config.toml.mustache @@ -9,6 +9,9 @@ rustflags = ["-L", "{{{nativeDeps}}}/lib"] {{#isWin}} [target.x86_64-pc-windows-msvc] rustflags = ["-L", "{{{nativeDeps}}}\\lib"] + +[target.'cfg(windows)'] +rustflags = ["-C", "link-args=/STACK:16777220"] {{/isWin}} {{#isLinux}} -- cgit