Skip to content

Commit

Permalink
[7_16] Set stack size on Windows to 16M to avoid stack overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Nov 13, 2024
1 parent 29eeb53 commit c03dbbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmake/research.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c03dbbb

Please sign in to comment.