@@ -2195,8 +2195,8 @@ pub struct TargetOptions {
2195
2195
/// Whether the target supports XRay instrumentation.
2196
2196
pub supports_xray : bool ,
2197
2197
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 ,
2200
2200
}
2201
2201
2202
2202
/// Add arguments for the given flavor and also for its "twin" flavors
@@ -2416,7 +2416,7 @@ impl Default for TargetOptions {
2416
2416
entry_name : "main" . into ( ) ,
2417
2417
entry_abi : Conv :: C ,
2418
2418
supports_xray : false ,
2419
- force_emulated_tls : false ,
2419
+ use_emulated_tls : false ,
2420
2420
}
2421
2421
}
2422
2422
}
@@ -3120,7 +3120,7 @@ impl Target {
3120
3120
key ! ( entry_name) ;
3121
3121
key ! ( entry_abi, Conv ) ?;
3122
3122
key ! ( supports_xray, bool ) ;
3123
- key ! ( force_emulated_tls , bool ) ;
3123
+ key ! ( use_emulated_tls , bool ) ;
3124
3124
3125
3125
if base. is_builtin {
3126
3126
// This can cause unfortunate ICEs later down the line.
@@ -3376,7 +3376,7 @@ impl ToJson for Target {
3376
3376
target_option_val ! ( entry_name) ;
3377
3377
target_option_val ! ( entry_abi) ;
3378
3378
target_option_val ! ( supports_xray) ;
3379
- target_option_val ! ( force_emulated_tls ) ;
3379
+ target_option_val ! ( use_emulated_tls ) ;
3380
3380
3381
3381
if let Some ( abi) = self . default_adjusted_cabi {
3382
3382
d. insert ( "default-adjusted-cabi" . into ( ) , Abi :: name ( abi) . to_json ( ) ) ;
0 commit comments