]> git.lizzy.rs Git - rust.git/commit
Auto merge of #102318 - Amanieu:default_alloc_error_handler, r=oli-obk
authorbors <bors@rust-lang.org>
Fri, 16 Dec 2022 21:08:45 +0000 (21:08 +0000)
committerbors <bors@rust-lang.org>
Fri, 16 Dec 2022 21:08:45 +0000 (21:08 +0000)
commitbbb9cfbbc56f0116541b8c3a0f829a60bf7605e0
tree8dd2a45dae2f762a6c46374996ad6cc62838a86b
parent9c07efe84f28a44f3044237696acc295aa407ee5
parente66220f747e4823ca4fc771cc1c46f3fd2f6bc81
Auto merge of #102318 - Amanieu:default_alloc_error_handler, r=oli-obk

Stabilize default_alloc_error_handler

Tracking issue: #66741

This turns `feature(default_alloc_error_handler)` on by default, which causes the compiler to automatically generate a default OOM handler which panics if `#[alloc_error_handler]` is not provided.

The FCP completed over 2 years ago but the stabilization was blocked due to an issue with unwinding. This was fixed by #88098 so stabilization can be unblocked.

Closes #66741
compiler/rustc_error_messages/locales/en-US/metadata.ftl
compiler/rustc_feature/src/accepted.rs
compiler/rustc_feature/src/active.rs
compiler/rustc_metadata/src/creader.rs
compiler/rustc_metadata/src/errors.rs