From c84a02c8ec0547fc7569f9d1fc133606e6d6ded8 Mon Sep 17 00:00:00 2001 From: tahahawa Date: Sun, 11 May 2025 22:39:23 -0400 Subject: [PATCH] upgrade stack size from default 1MB on windows (k3d stack overflow otherwise) --- .cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..23e166b --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "link-arg=/STACK:8000000"] + +[target.x86_64-pc-windows-gnu] +rustflags = ["-C", "link-arg=-Wl,--stack,8000000"]