Skip to content

Commit 4c8e62b

Browse files
committed
1 parent 5c63bff commit 4c8e62b

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/librustc_target/spec/thumbv4t_none_eabi.rs

+1-14
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ pub fn target() -> TargetResult {
4848
// minimum extra features, these cannot be disabled via -C
4949
features: "+soft-float,+strict-align".to_string(),
5050

51-
executables: true,
52-
53-
relocation_model: RelocModel::Static,
54-
5551
main_needs_argc_argv: false,
5652

5753
// No thread-local storage (just use a static Cell)
@@ -60,16 +56,7 @@ pub fn target() -> TargetResult {
6056
// don't have atomic compare-and-swap
6157
atomic_cas: false,
6258

63-
// always just abort
64-
panic_strategy: PanicStrategy::Abort,
65-
66-
// ABIs to not use
67-
unsupported_abis: super::arm_base::unsupported_abis(),
68-
69-
// this is turned off just like in the `thumb_base` module
70-
emit_debug_gdb_scripts: false,
71-
72-
..TargetOptions::default()
59+
..super::thumb_base::opts()
7360
},
7461
})
7562
}

0 commit comments

Comments
 (0)