@@ -1994,6 +1994,8 @@ options! {
19941994 on a C toolchain or linker installed in the system") ,
19951995 linker: Option <PathBuf > = ( None , parse_opt_pathbuf, [ UNTRACKED ] ,
19961996 "system linker to link outputs with" ) ,
1997+ linker_features: LinkerFeaturesCli = ( LinkerFeaturesCli :: default ( ) , parse_linker_features, [ UNTRACKED ] ,
1998+ "a comma-separated list of linker features to enable (+) or disable (-): `lld`" ) ,
19971999 linker_flavor: Option <LinkerFlavorCli > = ( None , parse_linker_flavor, [ UNTRACKED ] ,
19982000 "linker flavor" ) ,
19992001 linker_plugin_lto: LinkerPluginLto = ( LinkerPluginLto :: Disabled ,
@@ -2282,8 +2284,6 @@ options! {
22822284 "link native libraries in the linker invocation (default: yes)" ) ,
22832285 link_only: bool = ( false , parse_bool, [ TRACKED ] ,
22842286 "link the `.rlink` file generated by `-Z no-link` (default: no)" ) ,
2285- linker_features: LinkerFeaturesCli = ( LinkerFeaturesCli :: default ( ) , parse_linker_features, [ UNTRACKED ] ,
2286- "a comma-separated list of linker features to enable (+) or disable (-): `lld`" ) ,
22872287 lint_llvm_ir: bool = ( false , parse_bool, [ TRACKED ] ,
22882288 "lint LLVM IR (default: no)" ) ,
22892289 lint_mir: bool = ( false , parse_bool, [ UNTRACKED ] ,
0 commit comments