mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-13 17:25:27 +00:00
material: Avoid stack overflows on Windows
Apply guidance from https://docs.slint.dev/latest/docs/slint/guide/platforms/desktop/#rust-stack-overflows
Imported from 42e31d7ea7
This commit is contained in:
parent
503cba7043
commit
95d16d5482
1 changed files with 15 additions and 0 deletions
15
ui-libraries/material/.cargo/config.toml
Normal file
15
ui-libraries/material/.cargo/config.toml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Copyright © SixtyFPS GmbH <info@slint.dev>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
[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"
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue