about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.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
commit86daae2e6b7b494d5ea96dda145ad3c409fc3286 (patch)
tree9506bb44e6722132d0cd1920089f2f95f9adbb2d /compiler/rustc_codegen_gcc/example/std_example.rs
parentc56a10ca3b5a72194034bb697ed8289e0635fb51 (diff)
parente29149552e2afd1a524d562a910b20b996c31ec7 (diff)
downloadrust-86daae2e6b7b494d5ea96dda145ad3c409fc3286.tar.gz
rust-86daae2e6b7b494d5ea96dda145ad3c409fc3286.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 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions