Update thumbv4t_none_eabi.rs
This commit is contained in:
parent
86ab4a06eb
commit
7be0b877f4
1 changed files with 8 additions and 1 deletions
|
@ -47,13 +47,20 @@ pub fn target() -> Target {
|
||||||
// minimum extra features, these cannot be disabled via -C
|
// minimum extra features, these cannot be disabled via -C
|
||||||
features: "+soft-float,+strict-align".into(),
|
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,
|
main_needs_argc_argv: false,
|
||||||
|
|
||||||
// don't have atomic compare-and-swap
|
// don't have atomic compare-and-swap
|
||||||
atomic_cas: false,
|
atomic_cas: false,
|
||||||
has_thumb_interworking: true,
|
has_thumb_interworking: true,
|
||||||
|
|
||||||
..super::thumb_base::opts()
|
..Default::default()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue