mirror of
https://github.com/allankoechke/slint-rust-template.git
synced 2026-11-29 09:33:22 +00:00
Windows: Increase default stack size (#33)
While not strictly required for this particular example, it's a better default for Rust development and good to get out of the way instead of running into it and then looking for this fix in the docs. cc slint-ui/slint#4586
This commit is contained in:
12
.cargo/config.toml
Normal file
12
.cargo/config.toml
Normal file
@@ -0,0 +1,12 @@
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
# Increase default stack size to avoid running out of stack
|
||||
# space in debug builds. The size matches Linux's default.
|
||||
rustflags = [
|
||||
"-C", "link-arg=/STACK:8000000"
|
||||
]
|
||||
[target.aarch64-pc-windows-msvc]
|
||||
# Increase default stack size to avoid running out of stack
|
||||
# space in debug builds. The size matches Linux's default.
|
||||
rustflags = [
|
||||
"-C", "link-arg=/STACK:8000000"
|
||||
]
|
||||
Reference in New Issue
Block a user