about summary refs log tree commit diff
path: root/library/std/src/sys/windows/stack_overflow_uwp.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2022-01-31 20:12:59 -0800
committerGitHub <noreply@github.com>2022-01-31 20:12:59 -0800
commit8a70ea2394a1d431bc7ee70957afbf3979d176a0 (patch)
tree58fef9498f97a4fe12f3d8ebee80b00a2ff85431 /library/std/src/sys/windows/stack_overflow_uwp.rs
parent445fbff6a4d4cd181094cada847651883bd417a1 (diff)
parent1a77d6227cccdd66367fd1e9cd736c03ddda64ec (diff)
downloadrust-8a70ea2394a1d431bc7ee70957afbf3979d176a0.tar.gz
rust-8a70ea2394a1d431bc7ee70957afbf3979d176a0.zip
Rollup merge of #93504 - solid-rs:fix-kmc-solid-stack-size, r=nagisa
kmc-solid: Increase the default stack size

This PR increases the default minimum stack size on the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) Tier 3 targets to 64KiB (Arm) and 128KiB (AArch64).

This value was chosen as a middle ground between supporting a relatively complex program (e.g., an application using a full-fledged off-the-shelf web server framework) with no additional configuration and minimizing resource consumption for the embedded platform that doesn't support lazily-allocated pages nor over-commitment (i.e., wasted stack spaces are wasted physical memory). If the need arises, the users can always set the `RUST_MIN_STACK` environmental variable to override the default stack size or use the platform API directly.
Diffstat (limited to 'library/std/src/sys/windows/stack_overflow_uwp.rs')
0 files changed, 0 insertions, 0 deletions