forked from 1b-agent/opencadstudio-upstream
Configure 16 MB stack reserve on Windows for debug builds
This commit is contained in:
1 parent
5b663bfe38
commit
84e95e4781
1 file changed
+10
@@ -18,3 +18,13 @@ rustflags = [
|
||||
# WebAssembly stack while developing with `trunk serve`.
|
||||
'-Clink-arg=-zstack-size=4194304',
|
||||
]
|
||||
|
||||
[target.x86_64-pc-windows-gnu]
|
||||
rustflags = [
|
||||
"-Clink-arg=-Wl,--stack,16777216",
|
||||
]
|
||||
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
rustflags = [
|
||||
"-Clink-arg=/STACK:16777216",
|
||||
]
|
||||
Reference in new issue
Block a user