@@ -1983,6 +1983,8 @@ options! {
19831983 on a C toolchain or linker installed in the system") ,
19841984 linker: Option <PathBuf > = ( None , parse_opt_pathbuf, [ UNTRACKED ] ,
19851985 "system linker to link outputs with" ) ,
1986+ linker_features: LinkerFeaturesCli = ( LinkerFeaturesCli :: default ( ) , parse_linker_features, [ UNTRACKED ] ,
1987+ "a comma-separated list of linker features to enable (+) or disable (-): `lld`" ) ,
19861988 linker_flavor: Option <LinkerFlavorCli > = ( None , parse_linker_flavor, [ UNTRACKED ] ,
19871989 "linker flavor" ) ,
19881990 linker_plugin_lto: LinkerPluginLto = ( LinkerPluginLto :: Disabled ,
@@ -2263,8 +2265,6 @@ options! {
22632265 "link native libraries in the linker invocation (default: yes)" ) ,
22642266 link_only: bool = ( false , parse_bool, [ TRACKED ] ,
22652267 "link the `.rlink` file generated by `-Z no-link` (default: no)" ) ,
2266- linker_features: LinkerFeaturesCli = ( LinkerFeaturesCli :: default ( ) , parse_linker_features, [ UNTRACKED ] ,
2267- "a comma-separated list of linker features to enable (+) or disable (-): `lld`" ) ,
22682268 lint_llvm_ir: bool = ( false , parse_bool, [ TRACKED ] ,
22692269 "lint LLVM IR (default: no)" ) ,
22702270 lint_mir: bool = ( false , parse_bool, [ UNTRACKED ] ,
0 commit comments