about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-18 03:01:46 +0000
committerbors <bors@rust-lang.org>2022-03-18 03:01:46 +0000
commitfadd1c536a1cc7b2b605abc8e8482fb15363b3a7 (patch)
treed01a504b0a461eb810c05f98d832f531511d2820 /library/std/src/sys/unix/stack_overflow.rs
parent1c389322d226db421892abb64e0730b60eb15712 (diff)
parent6fcfc3d8773ee0f318a3311bb02655e0ccafbc14 (diff)
downloadrust-fadd1c536a1cc7b2b605abc8e8482fb15363b3a7.tar.gz
rust-fadd1c536a1cc7b2b605abc8e8482fb15363b3a7.zip
Auto merge of #88098 - Amanieu:oom_panic, r=nagisa
Implement -Z oom=panic

This PR removes the `#[rustc_allocator_nounwind]` attribute on `alloc_error_handler` which allows it to unwind with a panic instead of always aborting. This is then used to implement `-Z oom=panic` as per RFC 2116 (tracking issue #43596).

Perf and binary size tests show negligible impact.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions