From f806b070e9e886165c3945439fe67cad405ab366 Mon Sep 17 00:00:00 2001 From: Darcy Shen Date: Thu, 14 Nov 2024 11:42:22 +0800 Subject: [PATCH] [7_16] Set stack size on Windows to 16M to avoid stack overflow ## What find_bracket_sub in src/Edit/Interface/edit_cursor.cpp needs to be improved later ## Why ## How to test your changes? --- xmake/research.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/research.lua b/xmake/research.lua index 5d921ceda..bda496dce 100644 --- a/xmake/research.lua +++ b/xmake/research.lua @@ -135,6 +135,7 @@ function add_target_research_on_others() if is_plat("windows") then set_optimize("smallest") set_runtimes("MT") + add_ldflags("/STACK:16777216") end if is_mode("debug", "releasedbg") and is_plat("mingw", "windows") then