@@ -1988,6 +1988,8 @@ options! {
19881988 on a C toolchain or linker installed in the system") ,
19891989 linker: Option <PathBuf > = ( None , parse_opt_pathbuf, [ UNTRACKED ] ,
19901990 "system linker to link outputs with" ) ,
1991+ linker_features: LinkerFeaturesCli = ( LinkerFeaturesCli :: default ( ) , parse_linker_features, [ UNTRACKED ] ,
1992+ "a comma-separated list of linker features to enable (+) or disable (-): `lld`" ) ,
19911993 linker_flavor: Option <LinkerFlavorCli > = ( None , parse_linker_flavor, [ UNTRACKED ] ,
19921994 "linker flavor" ) ,
19931995 linker_plugin_lto: LinkerPluginLto = ( LinkerPluginLto :: Disabled ,
@@ -2273,8 +2275,6 @@ options! {
22732275 "link native libraries in the linker invocation (default: yes)" ) ,
22742276 link_only: bool = ( false , parse_bool, [ TRACKED ] ,
22752277 "link the `.rlink` file generated by `-Z no-link` (default: no)" ) ,
2276- linker_features: LinkerFeaturesCli = ( LinkerFeaturesCli :: default ( ) , parse_linker_features, [ UNTRACKED ] ,
2277- "a comma-separated list of linker features to enable (+) or disable (-): `lld`" ) ,
22782278 lint_llvm_ir: bool = ( false , parse_bool, [ TRACKED ] ,
22792279 "lint LLVM IR (default: no)" ) ,
22802280 lint_mir: bool = ( false , parse_bool, [ UNTRACKED ] ,
0 commit comments