diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2024-06-06 14:46:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-06 14:46:22 -0700 |
| commit | 68c57de26e4ac6a9b8f3c45ddb40e3a717cfcc81 (patch) | |
| tree | 244f9df850575f759a33d5567e88e9c63b6ad2b8 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | f739fefc76b7928827e1e0875cd5f09460a78a1e (diff) | |
| parent | 878107436a2c4ca60f1e87246fdb3480e1f2058b (diff) | |
| download | rust-68c57de26e4ac6a9b8f3c45ddb40e3a717cfcc81.tar.gz rust-68c57de26e4ac6a9b8f3c45ddb40e3a717cfcc81.zip | |
Rollup merge of #126059 - workingjubilee:stack-nothing-higher, r=ChrisDenton
Raise `DEFAULT_MIN_STACK_SIZE` to at least 64KiB Prevent copy-paste errors from producing new starved-for-resources threaded platforms by raising `DEFAULT_MIN_STACK_SIZE` from 4096 bytes to at least 64KiB. Two platforms "affected" by this have no actual threads: - UEFI - "unsupported" Platforms that this actually affects: - wasm32-wasi with "atomics" enabled - wasm32-wasi-p1-threads Two exceptions: - SGX: a "secure code execution" platform, stays at 4096B - TEEOS: also a "secure code execution" platform, stays at 8192B I believe either of these may have sufficiently "interesting" semantics around threads, or significant external library support. Either would mean making any choices here for them is suspect. Fixes #126027 which is a bug report about `DEFAULT_MIN_STACK_SIZE` being too low on wasi.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
