From 872f5326415dab6ea4ccb1a9b510ce584ca46dc6 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Wed, 16 Aug 2017 17:19:53 -0700 Subject: [PATCH] Enable unwinding panics on Redox --- src/librustc_back/target/redox_base.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/librustc_back/target/redox_base.rs b/src/librustc_back/target/redox_base.rs index 2eae0a12408..c7915d4de72 100644 --- a/src/librustc_back/target/redox_base.rs +++ b/src/librustc_back/target/redox_base.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use {LinkerFlavor, PanicStrategy}; +use LinkerFlavor; use target::{LinkArgs, TargetOptions}; use std::default::Default; @@ -37,7 +37,6 @@ pub fn opts() -> TargetOptions { target_family: None, linker_is_gnu: true, has_elf_tls: true, - panic_strategy: PanicStrategy::Abort, .. Default::default() } }