@@ -6,29 +6,31 @@ pub(crate) fn target() -> Target {
66 Target {
77 llvm_target : "armv7a-none-eabihf" . into ( ) ,
88 metadata : crate :: spec:: TargetMetadata {
9- description : None ,
10- tier : None ,
11- host_tools : None ,
12- std : None ,
9+ description : Some ( "Armv7-A Cortex-A9 VEX V5 Brain, VEXos" . into ( ) ) ,
10+ tier : Some ( 3 ) ,
11+ host_tools : Some ( false ) ,
12+ std : Some ( true ) ,
1313 } ,
1414 pointer_width : 32 ,
1515 data_layout : "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" . into ( ) ,
1616 arch : "arm" . into ( ) ,
1717 options : TargetOptions {
18+ os : "vexos" . into ( ) ,
19+ vendor : "vex" . into ( ) ,
20+ exe_suffix : "elf" . into ( ) ,
1821 cpu : "cortex-a9" . into ( ) ,
1922 abi : "eabihf" . into ( ) ,
20- linker_flavor : LinkerFlavor :: Gnu ( Cc :: No , Lld :: Yes ) ,
23+ features : "+v7,+neon,+vfp3,+thumb2,+thumb-mode" . into ( ) ,
2124 linker : Some ( "rust-lld" . into ( ) ) ,
25+ linker_flavor : LinkerFlavor :: Gnu ( Cc :: No , Lld :: Yes ) ,
2226 link_script : Some ( LINK_SCRIPT . into ( ) ) ,
23- features : "+v7,+thumb2,+vfp3,+neon" . into ( ) ,
27+ panic_strategy : PanicStrategy :: Abort ,
2428 relocation_model : RelocModel :: Static ,
25- disable_redzone : true ,
29+ c_enum_min_bits : Some ( 8 ) ,
2630 max_atomic_width : Some ( 64 ) ,
27- panic_strategy : PanicStrategy :: Abort ,
31+ disable_redzone : true ,
2832 emit_debug_gdb_scripts : false ,
29- c_enum_min_bits : Some ( 8 ) ,
30- os : "vexos" . into ( ) ,
31- vendor : "vex" . into ( ) ,
33+ has_thumb_interworking : true ,
3234 ..Default :: default ( )
3335 } ,
3436 }
0 commit comments