diff options
author | Pauline <git@ethanlibs.co> | 2023-10-23 00:14:40 -0400 |
---|---|---|
committer | Pauline <git@ethanlibs.co> | 2023-10-23 00:14:40 -0400 |
commit | 8485ba67a9950185465a86131acbd8dabc20a945 (patch) | |
tree | 9f9033c655920017aa37cfd02c7da8417b860128 /.cargo | |
parent | 0bdcc421caeb2c87e70ef1ede3263edcce327998 (diff) | |
download | Nexus-8485ba67a9950185465a86131acbd8dabc20a945.tar.gz Nexus-8485ba67a9950185465a86131acbd8dabc20a945.tar.bz2 Nexus-8485ba67a9950185465a86131acbd8dabc20a945.zip |
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
Diffstat (limited to '.cargo')
-rw-r--r-- | .cargo/config.toml.mustache | 3 |
1 files changed, 3 insertions, 0 deletions
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}} |