Skip to content

Commit

Permalink
Enable unwinding panics on Redox
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Aug 17, 2017
1 parent 7ac979d commit 872f532
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc_back/target/redox_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

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

0 comments on commit 872f532

Please sign in to comment.