@@ -38,29 +38,30 @@ SECTIONS
38
38
39
39
TargetOptions {
40
40
allow_asm : true ,
41
- endian : Endian :: Little ,
42
41
c_int_width : "64" . to_string ( ) ,
42
+ dll_prefix : "" . to_string ( ) ,
43
+ dynamic_linking : true ,
44
+ eh_frame_header : false ,
45
+ emit_debug_gdb_scripts : false ,
46
+ endian : Endian :: Little ,
43
47
env : String :: new ( ) ,
48
+ executables : true ,
44
49
features : "+solana" . to_string ( ) ,
45
- vendor : "solana" . to_string ( ) ,
50
+ link_script : Some ( linker_script. to_string ( ) ) ,
51
+ linker : Some ( "rust-lld" . to_owned ( ) ) ,
46
52
linker_flavor : LinkerFlavor :: Lld ( LldFlavor :: Ld ) ,
47
53
linker_is_gnu : true ,
48
- linker : Some ( "rust-lld" . to_owned ( ) ) ,
49
- link_script : Some ( linker_script. to_string ( ) ) ,
50
- pre_link_args,
51
- executables : true ,
52
- dll_prefix : "" . to_string ( ) ,
53
- dynamic_linking : true ,
54
- only_cdylib : true ,
54
+ main_needs_argc_argv : false ,
55
+ max_atomic_width : Some ( 64 ) ,
55
56
no_default_libraries : true ,
57
+ only_cdylib : true ,
58
+ os : "solana" . to_string ( ) ,
56
59
panic_strategy : PanicStrategy :: Abort ,
57
60
position_independent_executables : true ,
61
+ pre_link_args,
58
62
requires_lto : false ,
59
63
singlethread : true ,
60
- max_atomic_width : Some ( 64 ) ,
61
- eh_frame_header : false ,
62
- main_needs_argc_argv : false ,
63
- emit_debug_gdb_scripts : false ,
64
+ vendor : "solana" . to_string ( ) ,
64
65
.. Default :: default ( )
65
66
}
66
67
}
0 commit comments