about summary refs log tree commit diff
path: root/src/librustc_interface
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-04-30 07:04:43 +0000
committerbors <bors@rust-lang.org>2020-04-30 07:04:43 +0000
commitbf459752d41a93eb6df0e9513de4ef807883a80c (patch)
tree6a6e05a05077a1f72fcf055196b69be3eb341b6a /src/librustc_interface
parent7c8dbd969dd0ef2af6d8bab9e03ba7ce6cac41a2 (diff)
parentc6817ffb2cadae7f80414e13d99e89ec83db9a77 (diff)
downloadrust-bf459752d41a93eb6df0e9513de4ef807883a80c.tar.gz
rust-bf459752d41a93eb6df0e9513de4ef807883a80c.zip
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.
Diffstat (limited to 'src/librustc_interface')
-rw-r--r--src/librustc_interface/tests.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_interface/tests.rs b/src/librustc_interface/tests.rs
index cee2e5b5bec..0b3ba73f86a 100644
--- a/src/librustc_interface/tests.rs
+++ b/src/librustc_interface/tests.rs
@@ -546,7 +546,6 @@ fn test_debugging_options_tracking_hash() {
     tracked!(new_llvm_pass_manager, true);
     tracked!(no_codegen, true);
     tracked!(no_generate_arange_section, true);
-    tracked!(no_landing_pads, true);
     tracked!(no_link, true);
     tracked!(no_profiler_runtime, true);
     tracked!(osx_rpath_install_name, true);