@@ -2195,8 +2195,8 @@ pub struct TargetOptions {
21952195 /// Whether the target supports XRay instrumentation.
21962196 pub supports_xray : bool ,
21972197
2198- /// Forces the use of emulated TLS (__emutls_get_address)
2199- pub force_emulated_tls : bool ,
2198+ /// Use emulated TLS (__emutls_get_address)
2199+ pub use_emulated_tls : bool ,
22002200}
22012201
22022202/// Add arguments for the given flavor and also for its "twin" flavors
@@ -2416,7 +2416,7 @@ impl Default for TargetOptions {
24162416 entry_name : "main" . into ( ) ,
24172417 entry_abi : Conv :: C ,
24182418 supports_xray : false ,
2419- force_emulated_tls : false ,
2419+ use_emulated_tls : false ,
24202420 }
24212421 }
24222422}
@@ -3120,7 +3120,7 @@ impl Target {
31203120 key ! ( entry_name) ;
31213121 key ! ( entry_abi, Conv ) ?;
31223122 key ! ( supports_xray, bool ) ;
3123- key ! ( force_emulated_tls , bool ) ;
3123+ key ! ( use_emulated_tls , bool ) ;
31243124
31253125 if base. is_builtin {
31263126 // This can cause unfortunate ICEs later down the line.
@@ -3376,7 +3376,7 @@ impl ToJson for Target {
33763376 target_option_val ! ( entry_name) ;
33773377 target_option_val ! ( entry_abi) ;
33783378 target_option_val ! ( supports_xray) ;
3379- target_option_val ! ( force_emulated_tls ) ;
3379+ target_option_val ! ( use_emulated_tls ) ;
33803380
33813381 if let Some ( abi) = self . default_adjusted_cabi {
33823382 d. insert ( "default-adjusted-cabi" . into ( ) , Abi :: name ( abi) . to_json ( ) ) ;
0 commit comments