]> git.lizzy.rs Git - rust.git/commit
Auto merge of #70175 - Amanieu:remove_nlp, r=pnkfelix
authorbors <bors@rust-lang.org>
Thu, 30 Apr 2020 07:04:43 +0000 (07:04 +0000)
committerbors <bors@rust-lang.org>
Thu, 30 Apr 2020 07:04:43 +0000 (07:04 +0000)
commitbf459752d41a93eb6df0e9513de4ef807883a80c
tree6a6e05a05077a1f72fcf055196b69be3eb341b6a
parent7c8dbd969dd0ef2af6d8bab9e03ba7ce6cac41a2
parentc6817ffb2cadae7f80414e13d99e89ec83db9a77
Auto merge of #70175 - Amanieu:remove_nlp, r=pnkfelix

Remove -Z no-landing-pads flag

Since #67502, `-Z no-landing-pads` will cause all attempted unwinds to abort since we don't generate a `try` / `catch`. This previously worked because `__rust_try` was located in libpanic_unwind which is always compiled with `-C panic=unwind`, but `__rust_try` is now directly inline into the crate that uses `catch_unwind`.

As such, `-Z no-landing-pads` is now mostly useless and people should use `-C panic=abort` instead.
src/librustc_codegen_ssa/back/write.rs
src/librustc_mir_build/build/mod.rs