diff options
| author | Lokathor <zefria@gmail.com> | 2022-07-13 23:24:57 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-13 23:24:57 -0600 |
| commit | 7be0b877f4b188e81e6310cdc4e585f427501239 (patch) | |
| tree | 51c59f4ed07aacbfaf15954b6766256832b96321 /compiler/rustc_target/src | |
| parent | 86ab4a06ebd04151bf6aa48a546018be6386c158 (diff) | |
| download | rust-7be0b877f4b188e81e6310cdc4e585f427501239.tar.gz rust-7be0b877f4b188e81e6310cdc4e585f427501239.zip | |
Update thumbv4t_none_eabi.rs
Diffstat (limited to 'compiler/rustc_target/src')
| -rw-r--r-- | compiler/rustc_target/src/spec/thumbv4t_none_eabi.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/thumbv4t_none_eabi.rs b/compiler/rustc_target/src/spec/thumbv4t_none_eabi.rs index f747e735f56..e4bede3efbd 100644 --- a/compiler/rustc_target/src/spec/thumbv4t_none_eabi.rs +++ b/compiler/rustc_target/src/spec/thumbv4t_none_eabi.rs @@ -46,6 +46,13 @@ pub fn target() -> Target { // minimum extra features, these cannot be disabled via -C features: "+soft-float,+strict-align".into(), + + panic_strategy: PanicStrategy::Abort, + relocation_model: RelocModel::Static, + // suggested from thumb_base, rust-lang/rust#44993. + emit_debug_gdb_scripts: false, + // suggested from thumb_base, with no-os gcc/clang use 8-bit enums + c_enum_min_bits: 8, main_needs_argc_argv: false, @@ -53,7 +60,7 @@ pub fn target() -> Target { atomic_cas: false, has_thumb_interworking: true, - ..super::thumb_base::opts() + ..Default::default() }, } } |
