@@ -938,9 +938,6 @@ pub struct TargetOptions {
938938 /// for this target unconditionally.
939939 pub no_builtins : bool ,
940940
941- /// The codegen backend to use for this target, typically "llvm"
942- pub codegen_backend : String ,
943-
944941 /// The default visibility for symbols in this target should be "hidden"
945942 /// rather than "default"
946943 pub default_hidden_visibility : bool ,
@@ -1068,7 +1065,6 @@ impl Default for TargetOptions {
10681065 requires_lto : false ,
10691066 singlethread : false ,
10701067 no_builtins : false ,
1071- codegen_backend : "llvm" . to_string ( ) ,
10721068 default_hidden_visibility : false ,
10731069 emit_debug_gdb_scripts : true ,
10741070 requires_uwtable : false ,
@@ -1461,7 +1457,6 @@ impl Target {
14611457 key ! ( requires_lto, bool ) ;
14621458 key ! ( singlethread, bool ) ;
14631459 key ! ( no_builtins, bool ) ;
1464- key ! ( codegen_backend) ;
14651460 key ! ( default_hidden_visibility, bool ) ;
14661461 key ! ( emit_debug_gdb_scripts, bool ) ;
14671462 key ! ( requires_uwtable, bool ) ;
@@ -1699,7 +1694,6 @@ impl ToJson for Target {
16991694 target_option_val ! ( requires_lto) ;
17001695 target_option_val ! ( singlethread) ;
17011696 target_option_val ! ( no_builtins) ;
1702- target_option_val ! ( codegen_backend) ;
17031697 target_option_val ! ( default_hidden_visibility) ;
17041698 target_option_val ! ( emit_debug_gdb_scripts) ;
17051699 target_option_val ! ( requires_uwtable) ;
0 commit comments