about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-06 03:12:45 +0000
committerbors <bors@rust-lang.org>2022-02-06 03:12:45 +0000
commit719b04ca99be0c78e09a8ec5e2eda082a5d8ccae (patch)
treef598bbc1686da10e317387aeed4d7cb86749d017 /compiler/rustc_codegen_gcc
parent88fb06a1f331926bccb448acdb52966fd1ec8a92 (diff)
parent2082842340062eda5fa7215e831cdcd62379b0b3 (diff)
downloadrust-719b04ca99be0c78e09a8ec5e2eda082a5d8ccae.tar.gz
rust-719b04ca99be0c78e09a8ec5e2eda082a5d8ccae.zip
Auto merge of #92535 - Amanieu:oom_hook_unwind, r=m-ou-se
Allow unwinding from OOM hooks

This is split off from #88098 and contains just the bare minimum to allow specifying a custom OOM hook with `set_alloc_error_hook` which unwinds instead of aborting.

See #88098 for an actual command-line flag which switches the default OOM behavior to unwind instead of aborting.

Previous perf results show a negligible impact on performance.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions