Enable unwinding panics on Redox

This commit is contained in:
Ian Douglas Scott 2017-08-16 17:19:53 -07:00
parent 7ac979d8cb
commit 872f532641
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959

View File

@ -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()
}
}