Skip to content

Commit f806b07

Browse files
authored
[7_16] Set stack size on Windows to 16M to avoid stack overflow
<!-- Thank you for your contribution! --> ## What find_bracket_sub in src/Edit/Interface/edit_cursor.cpp needs to be improved later ## Why ## How to test your changes?
1 parent 29eeb53 commit f806b07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xmake/research.lua

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ function add_target_research_on_others()
135135
if is_plat("windows") then
136136
set_optimize("smallest")
137137
set_runtimes("MT")
138+
add_ldflags("/STACK:16777216")
138139
end
139140

140141
if is_mode("debug", "releasedbg") and is_plat("mingw", "windows") then

0 commit comments

Comments
 (0)