@@ -2191,8 +2191,8 @@ pub struct TargetOptions {
21912191 /// Whether the target supports XRay instrumentation.
21922192 pub supports_xray : bool ,
21932193
2194- /// Forces the use of emulated TLS (__emutls_get_address)
2195- pub force_emulated_tls : bool ,
2194+ /// Use emulated TLS (__emutls_get_address)
2195+ pub use_emulated_tls : bool ,
21962196}
21972197
21982198/// Add arguments for the given flavor and also for its "twin" flavors
@@ -2408,7 +2408,7 @@ impl Default for TargetOptions {
24082408 entry_name : "main" . into ( ) ,
24092409 entry_abi : Conv :: C ,
24102410 supports_xray : false ,
2411- force_emulated_tls : false ,
2411+ use_emulated_tls : false ,
24122412 }
24132413 }
24142414}
@@ -3112,7 +3112,7 @@ impl Target {
31123112 key ! ( entry_name) ;
31133113 key ! ( entry_abi, Conv ) ?;
31143114 key ! ( supports_xray, bool ) ;
3115- key ! ( force_emulated_tls , bool ) ;
3115+ key ! ( use_emulated_tls , bool ) ;
31163116
31173117 if base. is_builtin {
31183118 // This can cause unfortunate ICEs later down the line.
@@ -3368,7 +3368,7 @@ impl ToJson for Target {
33683368 target_option_val ! ( entry_name) ;
33693369 target_option_val ! ( entry_abi) ;
33703370 target_option_val ! ( supports_xray) ;
3371- target_option_val ! ( force_emulated_tls ) ;
3371+ target_option_val ! ( use_emulated_tls ) ;
33723372
33733373 if let Some ( abi) = self . default_adjusted_cabi {
33743374 d. insert ( "default-adjusted-cabi" . into ( ) , Abi :: name ( abi) . to_json ( ) ) ;
0 commit comments