@@ -719,6 +719,9 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
719719 "extra arguments to append to the linker invocation (space separated)" ) ,
720720 link_dead_code: Option <bool > = ( None , parse_opt_bool, [ UNTRACKED ] ,
721721 "keep dead code at link time (useful for code coverage) (default: no)" ) ,
722+ link_self_contained: Option <bool > = ( None , parse_opt_bool, [ UNTRACKED ] ,
723+ "control whether to link Rust provided C objects/libraries or rely
724+ on C toolchain installed in the system" ) ,
722725 linker: Option <PathBuf > = ( None , parse_opt_pathbuf, [ UNTRACKED ] ,
723726 "system linker to link outputs with" ) ,
724727 linker_flavor: Option <LinkerFlavor > = ( None , parse_linker_flavor, [ UNTRACKED ] ,
@@ -894,9 +897,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
894897 "keep hygiene data after analysis (default: no)" ) ,
895898 link_native_libraries: bool = ( true , parse_bool, [ UNTRACKED ] ,
896899 "link native libraries in the linker invocation (default: yes)" ) ,
897- link_self_contained: Option <bool > = ( None , parse_opt_bool, [ TRACKED ] ,
898- "control whether to link Rust provided C objects/libraries or rely
899- on C toolchain installed in the system" ) ,
900900 link_only: bool = ( false , parse_bool, [ TRACKED ] ,
901901 "link the `.rlink` file generated by `-Z no-link` (default: no)" ) ,
902902 llvm_time_trace: bool = ( false , parse_bool, [ UNTRACKED ] ,
0 commit comments