@@ -604,9 +604,9 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
604
604
lto: bool = ( false , parse_bool,
605
605
"perform LLVM link-time optimizations" ) ,
606
606
target_cpu: Option <String > = ( None , parse_opt_string,
607
- "select target processor (llc -mcpu=help for details)" ) ,
607
+ "select target processor (rustc --print target-cpus for details)" ) ,
608
608
target_feature: String = ( "" . to_string( ) , parse_string,
609
- "target specific attributes (llc -mattr=help for details)" ) ,
609
+ "target specific attributes (rustc --print target-features for details)" ) ,
610
610
passes: Vec <String > = ( Vec :: new( ) , parse_list,
611
611
"a list of extra LLVM passes to run (space separated)" ) ,
612
612
llvm_args: Vec <String > = ( Vec :: new( ) , parse_list,
@@ -630,9 +630,9 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
630
630
no_redzone: Option <bool > = ( None , parse_opt_bool,
631
631
"disable the use of the redzone" ) ,
632
632
relocation_model: Option <String > = ( None , parse_opt_string,
633
- "choose the relocation model to use (llc - relocation-model for details)" ) ,
633
+ "choose the relocation model to use (rustc --print relocation-models for details)" ) ,
634
634
code_model: Option <String > = ( None , parse_opt_string,
635
- "choose the code model to use (llc - code-model for details)" ) ,
635
+ "choose the code model to use (rustc --print code-models for details)" ) ,
636
636
metadata: Vec <String > = ( Vec :: new( ) , parse_list,
637
637
"metadata to mangle symbol names with" ) ,
638
638
extra_filename: String = ( "" . to_string( ) , parse_string,
@@ -993,7 +993,8 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
993
993
"[asm|llvm-bc|llvm-ir|obj|link|dep-info]" ) ,
994
994
opt:: multi_s( "" , "print" , "Comma separated list of compiler information to \
995
995
print on stdout",
996
- "[crate-name|file-names|sysroot|cfg|target-list]" ) ,
996
+ "[crate-name|file-names|sysroot|cfg|target-list|target-cpus|\
997
+ target-features|relocation-models|code-models]") ,
997
998
opt:: flagmulti_s( "g" , "" , "Equivalent to -C debuginfo=2" ) ,
998
999
opt:: flagmulti_s( "O" , "" , "Equivalent to -C opt-level=2" ) ,
999
1000
opt:: opt_s( "o" , "" , "Write output to <filename>" , "FILENAME" ) ,
0 commit comments