Skip to content

Commit 9e2463c

Browse files
committed
Use panic abort by default
1 parent 5c1602a commit 9e2463c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_back/target/redox_base.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
use PanicStrategy;
1112
use target::TargetOptions;
1213
use std::default::Default;
1314

@@ -40,6 +41,7 @@ pub fn opts() -> TargetOptions {
4041
linker_is_gnu: true,
4142
no_default_libraries: true,
4243
has_elf_tls: true,
44+
panic_strategy: PanicStrategy::Abort,
4345
.. Default::default()
4446
}
4547
}

0 commit comments

Comments
 (0)