We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86ab4a0 commit 7be0b87Copy full SHA for 7be0b87
compiler/rustc_target/src/spec/thumbv4t_none_eabi.rs
@@ -46,14 +46,21 @@ pub fn target() -> Target {
46
47
// minimum extra features, these cannot be disabled via -C
48
features: "+soft-float,+strict-align".into(),
49
+
50
+ panic_strategy: PanicStrategy::Abort,
51
+ relocation_model: RelocModel::Static,
52
+ // suggested from thumb_base, rust-lang/rust#44993.
53
+ emit_debug_gdb_scripts: false,
54
+ // suggested from thumb_base, with no-os gcc/clang use 8-bit enums
55
+ c_enum_min_bits: 8,
56
57
main_needs_argc_argv: false,
58
59
// don't have atomic compare-and-swap
60
atomic_cas: false,
61
has_thumb_interworking: true,
62
- ..super::thumb_base::opts()
63
+ ..Default::default()
64
},
65
}
66
0 commit comments