@@ -425,23 +425,19 @@ pub struct TargetOptions {
425
425
/// Linker arguments that are passed *before* any user-defined libraries.
426
426
pub pre_link_args : LinkArgs , // ... unconditionally
427
427
pub pre_link_args_crt : LinkArgs , // ... when linking with a bundled crt
428
- /// Objects to link before all others, all except *_sys found within the
428
+ /// Objects to link before all others, always found within the
429
429
/// sysroot folder.
430
430
pub pre_link_objects_exe : Vec < String > , // ... when linking an executable, unconditionally
431
431
pub pre_link_objects_exe_crt : Vec < String > , // ... when linking an executable with a bundled crt
432
- pub pre_link_objects_exe_crt_sys : Vec < String > , // ... when linking an executable with a bundled
433
- // crt, from the system library search path
434
432
pub pre_link_objects_dll : Vec < String > , // ... when linking a dylib
435
433
/// Linker arguments that are unconditionally passed after any
436
434
/// user-defined but before post_link_objects. Standard platform
437
435
/// libraries that should be always be linked to, usually go here.
438
436
pub late_link_args : LinkArgs ,
439
- /// Objects to link after all others, all except *_sys found within the
437
+ /// Objects to link after all others, always found within the
440
438
/// sysroot folder.
441
439
pub post_link_objects : Vec < String > , // ... unconditionally
442
440
pub post_link_objects_crt : Vec < String > , // ... when linking with a bundled crt
443
- pub post_link_objects_crt_sys : Vec < String > , // ... when linking with a bundled crt, from the
444
- // system library search path
445
441
/// Linker arguments that are unconditionally passed *after* any
446
442
/// user-defined libraries.
447
443
pub post_link_args : LinkArgs ,
@@ -676,11 +672,9 @@ impl Default for TargetOptions {
676
672
relro_level : RelroLevel :: None ,
677
673
pre_link_objects_exe : Vec :: new ( ) ,
678
674
pre_link_objects_exe_crt : Vec :: new ( ) ,
679
- pre_link_objects_exe_crt_sys : Vec :: new ( ) ,
680
675
pre_link_objects_dll : Vec :: new ( ) ,
681
676
post_link_objects : Vec :: new ( ) ,
682
677
post_link_objects_crt : Vec :: new ( ) ,
683
- post_link_objects_crt_sys : Vec :: new ( ) ,
684
678
late_link_args : LinkArgs :: new ( ) ,
685
679
link_env : Vec :: new ( ) ,
686
680
archive_format : "gnu" . to_string ( ) ,
@@ -902,12 +896,10 @@ impl Target {
902
896
key ! ( pre_link_args_crt, link_args) ;
903
897
key ! ( pre_link_objects_exe, list) ;
904
898
key ! ( pre_link_objects_exe_crt, list) ;
905
- key ! ( pre_link_objects_exe_crt_sys, list) ;
906
899
key ! ( pre_link_objects_dll, list) ;
907
900
key ! ( late_link_args, link_args) ;
908
901
key ! ( post_link_objects, list) ;
909
902
key ! ( post_link_objects_crt, list) ;
910
- key ! ( post_link_objects_crt_sys, list) ;
911
903
key ! ( post_link_args, link_args) ;
912
904
key ! ( link_env, env) ;
913
905
key ! ( asm_args, list) ;
@@ -1112,12 +1104,10 @@ impl ToJson for Target {
1112
1104
target_option_val ! ( link_args - pre_link_args_crt) ;
1113
1105
target_option_val ! ( pre_link_objects_exe) ;
1114
1106
target_option_val ! ( pre_link_objects_exe_crt) ;
1115
- target_option_val ! ( pre_link_objects_exe_crt_sys) ;
1116
1107
target_option_val ! ( pre_link_objects_dll) ;
1117
1108
target_option_val ! ( link_args - late_link_args) ;
1118
1109
target_option_val ! ( post_link_objects) ;
1119
1110
target_option_val ! ( post_link_objects_crt) ;
1120
- target_option_val ! ( post_link_objects_crt_sys) ;
1121
1111
target_option_val ! ( link_args - post_link_args) ;
1122
1112
target_option_val ! ( env - link_env) ;
1123
1113
target_option_val ! ( asm_args) ;
0 commit comments